curl-library
Re: Patch for SMB Message Signing
From: Gisle Vanem <gvanem_at_yahoo.no>
Date: Fri, 18 Dec 2015 20:54:16 +0100
Date: Fri, 18 Dec 2015 20:54:16 +0100
Joseph Tetzlaff-Deas:
> diff --git a/lib/smb.c b/lib/smb.c
> index 8e2c164..2ea80a8 100644
> --- a/lib/smb.c
> +++ b/lib/smb.c
> @@ -46,6 +46,8 @@
> #include "curl_ntlm_core.h"
> #include "escape.h"
> #include "curl_endian.h"
> +#include "openssl/md4.h"
> +#include "openssl/md5.h"
OpenSSL is not the only choice of crypto-lib in libcurl.
So this (and most of your patches I guess) should be inside
a '#if defined(USE_OPENSSL)' block. Or use
Curl_MD[4|5]_xx() etc. instead.
--gv
-- --gv ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2015-12-18