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:
parent
fe7590f729
commit
257a1c0d14
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user