aboutsummaryrefslogtreecommitdiff
path: root/mail/libesmtp
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/libesmtp
parent091a8416e73d8e7c747b91af326f2dcfcc1aba5b (diff)
downloadports-8085471b6b94191c2d2826e886dde47d21a31e94.tar.gz
ports-8085471b6b94191c2d2826e886dde47d21a31e94.zip
Notes
Diffstat (limited to 'mail/libesmtp')
-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