1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

wolfssl: fix key pinning build error

follow-up from deb9462ff2
This commit is contained in:
Daniel Stenberg 2019-06-11 07:45:12 +02:00
parent f0b7b106ff
commit 342a0c7ddf
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -522,7 +522,7 @@ wolfssl_connect_step2(struct connectdata *conn,
return CURLE_SSL_PINNEDPUBKEYNOTMATCH;
}
x509_der = (const char *)wolfssl_X509_get_der(x509, &x509_der_len);
x509_der = (const char *)wolfSSL_X509_get_der(x509, &x509_der_len);
if(!x509_der) {
failf(data, "SSL: failed retrieving ASN.1 server certificate");
return CURLE_SSL_PINNEDPUBKEYNOTMATCH;