diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2015-04-05 01:48:16 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2015-04-22 17:07:19 -0400 |
commit | 0675abbc7572ff6d711a1f325d9b812f98bce78f (patch) | |
tree | 8e9ab2f345f2ccc8405e941560cae58d4ac69850 /lib/x509asn1.c | |
parent | 26cbd7a1d94d0d0ddb7923bfa2a6771154c93334 (diff) | |
download | curl-0675abbc7572ff6d711a1f325d9b812f98bce78f.tar.gz |
cyassl: Implement public key pinning
Also add public key extraction example to CURLOPT_PINNEDPUBLICKEY doc.
Diffstat (limited to 'lib/x509asn1.c')
-rw-r--r-- | lib/x509asn1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/x509asn1.c b/lib/x509asn1.c index a163568ed..a3dfd646b 100644 --- a/lib/x509asn1.c +++ b/lib/x509asn1.c @@ -22,7 +22,8 @@ #include "curl_setup.h" -#if defined(USE_GSKIT) || defined(USE_NSS) || defined(USE_GNUTLS) +#if defined(USE_GSKIT) || defined(USE_NSS) || defined(USE_GNUTLS) || \ + defined(USE_CYASSL) #include <curl/curl.h> #include "urldata.h" @@ -1023,7 +1024,7 @@ CURLcode Curl_extract_certinfo(struct connectdata * conn, return CURLE_OK; } -#endif /* USE_GSKIT or USE_NSS or USE_GNUTLS */ +#endif /* USE_GSKIT or USE_NSS or USE_GNUTLS or USE_CYASSL */ #if defined(USE_GSKIT) |