diff options
Diffstat (limited to 'mail/libesmtp')
-rw-r--r-- | mail/libesmtp/files/patch-ntml::ntlmdes.c | 21 |
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 |