Hi,

Thanks a lot for the continued development of stunnel!

While checking whether my Debian packages can be built with
the upcoming GCC 11, I found (or rather, GCC reported) a minor
discrepancy in the type of the "hash" parameter to the crypt_DES()
function in protocol.c. What do you think about the attached patch?
It is also available at:

  
https://salsa.debian.org/debian/stunnel/-/blob/master/debian/patches/06-des-hash.patch

Thanks again, and keep up the great work!

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
Description: Correct a function parameter's type.
Forwarded: no
Author: Peter Pentchev <[email protected]>
Last-Update: 2021-08-19

--- a/src/protocol.c
+++ b/src/protocol.c
@@ -71,7 +71,7 @@
 NOEXPORT void ntlm(CLI *, SERVICE_OPTIONS *);
 NOEXPORT char *ntlm1();
 NOEXPORT char *ntlm3(char *, char *, char *, char *);
-NOEXPORT void crypt_DES(DES_cblock, DES_cblock, DES_cblock);
+NOEXPORT void crypt_DES(DES_cblock, DES_cblock, unsigned char[7]);
 #endif
 NOEXPORT char *base64(int, const char *, int);
 

Attachment: signature.asc
Description: PGP signature

_______________________________________________
stunnel-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to