Skip to content

Commit

Permalink
vtls: fix compile with --disable-crypto-auth but with SSL
Browse files Browse the repository at this point in the history
This is a strange combination of options, but is allowed.
  • Loading branch information
dfandrich committed Mar 24, 2015
1 parent ff4a4dd commit 56ae66d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/vtls/vtls.c
Expand Up @@ -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 */
Expand All @@ -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.
Expand Down

0 comments on commit 56ae66d

Please sign in to comment.