diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-10-20 08:12:44 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-10-20 08:12:44 +0200 |
commit | 257a1c0d1410b8360facd1401f610d332c0715d6 (patch) | |
tree | 22805920c43aca1d13bf5ed51591e1e06a4d2e66 /lib | |
parent | fe7590f729feccd70a2d246fb06bcbf9905d7498 (diff) |
vtls: fix compiler warning for TLS backends without sha256
... noticed with mbedTLS.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vtls/vtls.c | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |