comparison src/smtp_out.c @ 162:52c82d755215

replaced the MD5 implementation with the one of Solar Designer Until now, the sample code of RFC 1321 was used. It had an ugly license. Now we use the implementation of Solar Designer, which is in the Public Domain. http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
author meillo@marmaro.de
date Sun, 18 Jul 2010 22:01:04 +0200
parents 1e2fd87d58ea
children 349518b940db
comparison
equal deleted inserted replaced
161:6655f7708ee1 162:52c82d755215
37 #ifdef USE_LIB_CRYPTO 37 #ifdef USE_LIB_CRYPTO
38 #include <openssl/hmac.h> 38 #include <openssl/hmac.h>
39 #include <openssl/md5.h> 39 #include <openssl/md5.h>
40 #include <openssl/evp.h> 40 #include <openssl/evp.h>
41 #else 41 #else
42 #include "md5/global.h"
43 #include "md5/md5.h" 42 #include "md5/md5.h"
44 #include "md5/hmac_md5.h" 43 #include "md5/hmac_md5.h"
45 #endif 44 #endif
46 45
47 #include "base64/base64.h" 46 #include "base64/base64.h"