summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2003-02-12 20:22:04 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2003-02-12 20:22:04 +0000
commit8085471b6b94191c2d2826e886dde47d21a31e94 (patch)
tree9771c4b442188a3936578587579cab963207f4cf /mail
parentFix build on -CURRENT by conditionally defining M_WAITOK as 0x0000. (diff)
Fix build with OpenSSL 0.9.7.
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=75389
Diffstat (limited to 'mail')
-rw-r--r--mail/libesmtp/files/patch-ntml::ntlmdes.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/libesmtp/files/patch-ntml::ntlmdes.c b/mail/libesmtp/files/patch-ntml::ntlmdes.c
new file mode 100644
index 000000000000..cceb11310ffa
--- /dev/null
+++ b/mail/libesmtp/files/patch-ntml::ntlmdes.c
@@ -0,0 +1,21 @@
+*** ntlm/ntlmdes.c.orig Wed Feb 12 07:08:05 2003
+--- ntlm/ntlmdes.c Wed Feb 12 07:08:24 2003
+***************
+*** 60,67 ****
+ des_ecb_encrypt (iv, result, ks, DES_ENCRYPT);
+
+ /* paranoia */
+! memset (key, 0, sizeof key);
+! memset (ks, 0, sizeof ks);
+ }
+
+ /* Copy and convert to upper case. If supplied string is shorter than the
+--- 60,67 ----
+ des_ecb_encrypt (iv, result, ks, DES_ENCRYPT);
+
+ /* paranoia */
+! memset (&key, 0, sizeof key);
+! memset (&ks, 0, sizeof ks);
+ }
+
+ /* Copy and convert to upper case. If supplied string is shorter than the