mirror of
https://github.com/curl/curl.git
synced 2026-08-02 17:40:29 +03:00
vtls: fix compiler warning for TLS backends without sha256
... noticed with mbedTLS.
This commit is contained in:
parent
fe7590f729
commit
257a1c0d14
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue