diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2012-09-14 13:00:43 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2012-09-14 13:00:43 +0000 |
| commit | 0e50a833303122d7dd65362e24d823fd32945d75 (patch) | |
| tree | 89d24b3ace757e720aa805edd70372169e23c164 /lib/libfetch/http.c | |
| parent | 42415fcb525b6ef209945b93ca9878de9ecf9131 (diff) | |
Notes
Diffstat (limited to 'lib/libfetch/http.c')
| -rw-r--r-- | lib/libfetch/http.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libfetch/http.c b/lib/libfetch/http.c index f6e063aa7121..97fe47c592ce 100644 --- a/lib/libfetch/http.c +++ b/lib/libfetch/http.c @@ -76,7 +76,15 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <time.h> #include <unistd.h> + +#ifdef WITH_SSL +#include <openssl/md5.h> +#define MD5Init(c) MD5_Init(c) +#define MD5Update(c, data, len) MD5_Update(c, data, len) +#define MD5Final(md, c) MD5_Final(md, c) +#else #include <md5.h> +#endif #include <netinet/in.h> #include <netinet/tcp.h> |
