aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-06-11 07:45:12 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-06-11 07:46:04 +0200
commit342a0c7ddff1017b8fbb0319bc51e56da445aedd (patch)
treed28deccc7478ab8528c1e48c8ce48cda11f891da /lib/vtls
parentf0b7b106ff409f0128dc7bb0f435b37891f297fd (diff)
wolfssl: fix key pinning build error
follow-up from deb9462ff2de8
Diffstat (limited to 'lib/vtls')
-rw-r--r--lib/vtls/wolfssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/wolfssl.c b/lib/vtls/wolfssl.c
index d8fd379ef..890bcbf79 100644
--- a/lib/vtls/wolfssl.c
+++ b/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;