Commit 257a1c0d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

vtls: fix compiler warning for TLS backends without sha256

... noticed with mbedTLS.
parent fe7590f7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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");