diff options
Diffstat (limited to 'mbone/vic/files/patch-md5')
-rw-r--r-- | mbone/vic/files/patch-md5 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mbone/vic/files/patch-md5 b/mbone/vic/files/patch-md5 new file mode 100644 index 000000000000..ba52895aa139 --- /dev/null +++ b/mbone/vic/files/patch-md5 @@ -0,0 +1,21 @@ +--- net/crypt.cpp Thu Sep 9 08:48:51 1999 ++++ net/crypt.cpp Tue Mar 22 13:08:25 2005 +@@ -42,5 +42,5 @@ + #define PROTOTYPES 1 + #include "global.h" +-#include "md5.h" ++#include <openssl/md5.h> + + Crypt::Crypt() : badpktlen_(0), badpbit_(0) +@@ -70,8 +70,8 @@ + { + MD5_CTX context; +- MD5Init(&context); +- MD5Update(&context, (u_char*)key, strlen(key)); ++ MD5_Init(&context); ++ MD5_Update(&context, (u_char*)key, strlen(key)); + u_char hash[16]; +- MD5Final((u_char *)hash, &context); ++ MD5_Final((u_char *)hash, &context); + return (install_key(hash)); + } |