From 257a1c0d1410b8360facd1401f610d332c0715d6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 20 Oct 2015 08:12:44 +0200 Subject: vtls: fix compiler warning for TLS backends without sha256 ... noticed with mbedTLS. --- lib/vtls/vtls.c | 2 ++ 1 file changed, 2 insertions(+) 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"); -- cgit v1.2.1