1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

vtls: fix compiler warning for TLS backends without sha256

... noticed with mbedTLS.
This commit is contained in:
Daniel Stenberg 2015-10-20 08:12:44 +02:00
parent fe7590f729
commit 257a1c0d14

View File

@ -845,6 +845,8 @@ CURLcode Curl_pin_peer_pubkey(struct SessionHandle *data,
Curl_safefree(pinkeycopy);
return result;
}
#else
(void)data;
#endif
fp = fopen(pinnedpubkey, "rb");