vtls: fix compiler warning for TLS backends without sha256
... noticed with mbedTLS.
This commit is contained in:
@@ -845,6 +845,8 @@ CURLcode Curl_pin_peer_pubkey(struct SessionHandle *data,
|
|||||||
Curl_safefree(pinkeycopy);
|
Curl_safefree(pinkeycopy);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
(void)data;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
fp = fopen(pinnedpubkey, "rb");
|
fp = fopen(pinnedpubkey, "rb");
|
||||||
|
|||||||
Reference in New Issue
Block a user