Skip to content
Permalink
Browse files

wolfssl: fix key pinning build error

follow-up from deb9462
  • Loading branch information...
bagder committed Jun 11, 2019
1 parent f0b7b10 commit 342a0c7ddff1017b8fbb0319bc51e56da445aedd
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/vtls/wolfssl.c
@@ -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;

0 comments on commit 342a0c7

Please sign in to comment.
You can’t perform that action at this time.