From: Daniel Stenberg Date: Tue, 20 Oct 2015 06:12:44 +0000 (+0200) Subject: vtls: fix compiler warning for TLS backends without sha256 X-Git-Tag: curl-7_46_0~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=257a1c0d1410b8360facd1401f610d332c0715d6;p=curl vtls: fix compiler warning for TLS backends without sha256 ... noticed with mbedTLS. --- diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index f359cd5d5..96ff61301 100644 --- a/lib/vtls/vtls.c +++ b/lib/vtls/vtls.c @@ -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");