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
1 changed files with 2 additions and 0 deletions

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");