From: Jay Satiro Date: Mon, 17 Jul 2017 06:46:07 +0000 (-0400) Subject: darwinssl: fix pinnedpubkey build error X-Git-Tag: curl-7_55_0~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=798ad5d924a64cf68971fad04d357ed9b8b07f91;p=curl darwinssl: fix pinnedpubkey build error - s/SessionHandle/Curl_easy/ Bug: https://github.com/curl/curl/commit/eb16305#commitcomment-23035670 Reported-by: Gisle Vanem --- diff --git a/lib/vtls/darwinssl.c b/lib/vtls/darwinssl.c index 041766541..dd1fc570a 100644 --- a/lib/vtls/darwinssl.c +++ b/lib/vtls/darwinssl.c @@ -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 */