]> granicus.if.org Git - curl/commitdiff
wolfssl: fix key pinning build error
authorDaniel Stenberg <daniel@haxx.se>
Tue, 11 Jun 2019 05:45:12 +0000 (07:45 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 11 Jun 2019 05:46:04 +0000 (07:46 +0200)
follow-up from deb9462ff2de8

lib/vtls/wolfssl.c

index d8fd379ef860df4ae60147623f230fad89e39ccc..890bcbf79789310aded5e56a78eff7fe8dd48a90 100644 (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;