]> granicus.if.org Git - curl/commitdiff
darwinssl: fix pinnedpubkey build error
authorJay Satiro <raysatiro@yahoo.com>
Mon, 17 Jul 2017 06:46:07 +0000 (02:46 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 17 Jul 2017 06:46:07 +0000 (02:46 -0400)
- s/SessionHandle/Curl_easy/

Bug: https://github.com/curl/curl/commit/eb16305#commitcomment-23035670
Reported-by: Gisle Vanem
lib/vtls/darwinssl.c

index 041766541ea4d86c7e8bc4be860aab27ced1b249..dd1fc570a299502b561f20d603b2654154af8378 100644 (file)
@@ -2027,7 +2027,7 @@ static int verify_cert(const char *cafile, struct Curl_easy *data,
 }
 
 #ifdef DARWIN_SSL_PINNEDPUBKEY
-static CURLcode pkp_pin_peer_pubkey(struct SessionHandle *data,
+static CURLcode pkp_pin_peer_pubkey(struct Curl_easy *data,
                                     SSLContextRef ctx,
                                     const char *pinnedpubkey)
 {  /* Scratch */