comparison src/smtp_out.c @ 209:10da50168dab

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 21:58:15 +0200
parents 6530806d418f
children 8cddc65765bd
comparison
equal deleted inserted replaced
208:3708b655a371 209:10da50168dab
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"