aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-02-13 04:22:04 +0800
committernectar <nectar@FreeBSD.org>2003-02-13 04:22:04 +0800
commit16b181f5844fa5ad8e226f909f96e90a4938d958 (patch)
tree71062bdf4e7103307473e604ea2b4f7aead1f908 /mail
parentaa31b61374b758726675bd81b791c250e6e285d7 (diff)
downloadfreebsd-ports-gnome-16b181f5844fa5ad8e226f909f96e90a4938d958.tar.gz
freebsd-ports-gnome-16b181f5844fa5ad8e226f909f96e90a4938d958.tar.zst
freebsd-ports-gnome-16b181f5844fa5ad8e226f909f96e90a4938d958.zip
Fix build with OpenSSL 0.9.7.
Approved by: maintainer
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