mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
vtls: fix compile with --disable-crypto-auth but with SSL
This is a strange combination of options, but is allowed.
This commit is contained in:
parent
ff4a4dd92e
commit
56ae66d518
@ -827,6 +827,7 @@ CURLcode Curl_pin_peer_pubkey(const char *pinnedpubkey,
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CURL_DISABLE_CRYPTO_AUTH
|
||||||
void Curl_ssl_md5sum(unsigned char *tmp, /* input */
|
void Curl_ssl_md5sum(unsigned char *tmp, /* input */
|
||||||
size_t tmplen,
|
size_t tmplen,
|
||||||
unsigned char *md5sum, /* output */
|
unsigned char *md5sum, /* output */
|
||||||
@ -844,6 +845,7 @@ void Curl_ssl_md5sum(unsigned char *tmp, /* input */
|
|||||||
Curl_MD5_final(MD5pw, md5sum);
|
Curl_MD5_final(MD5pw, md5sum);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check whether the SSL backend supports the status_request extension.
|
* Check whether the SSL backend supports the status_request extension.
|
||||||
|
Loading…
Reference in New Issue
Block a user