diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2015-03-24 21:41:22 +0100 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2015-03-24 21:41:22 +0100 |
commit | 56ae66d5180f4ae0fef080dda51b677e4a90d309 (patch) | |
tree | d9514dd1f9bcee35a3cfd3f915f04fb623ff0031 /lib | |
parent | ff4a4dd92ea9e191bebadc3439d219c1a1e1677f (diff) |
vtls: fix compile with --disable-crypto-auth but with SSL
This is a strange combination of options, but is allowed.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vtls/vtls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index c551cca66..4980d674f 100644 --- a/lib/vtls/vtls.c +++ b/lib/vtls/vtls.c @@ -827,6 +827,7 @@ CURLcode Curl_pin_peer_pubkey(const char *pinnedpubkey, return result; } +#ifndef CURL_DISABLE_CRYPTO_AUTH void Curl_ssl_md5sum(unsigned char *tmp, /* input */ size_t tmplen, unsigned char *md5sum, /* output */ @@ -844,6 +845,7 @@ void Curl_ssl_md5sum(unsigned char *tmp, /* input */ Curl_MD5_final(MD5pw, md5sum); #endif } +#endif /* * Check whether the SSL backend supports the status_request extension. |