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.h | |
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.h')
-rw-r--r-- | lib/x509asn1.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/x509asn1.h b/lib/x509asn1.h index caa5f6f33..eb23e506a 100644 --- a/lib/x509asn1.h +++ b/lib/x509asn1.h @@ -25,7 +25,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 "urldata.h" @@ -127,5 +128,5 @@ CURLcode Curl_extract_certinfo(struct connectdata * conn, int certnum, CURLcode Curl_verifyhost(struct connectdata * conn, const char * beg, const char * end); -#endif /* USE_GSKIT or USE_NSS or USE_GNUTLS */ +#endif /* USE_GSKIT or USE_NSS or USE_GNUTLS or USE_CYASSL */ #endif /* HEADER_CURL_X509ASN1_H */ |