diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2015-03-20 19:03:53 +0100 |
---|---|---|
committer | Patrick Monnerat <pm@datasphere.ch> | 2015-03-20 19:03:53 +0100 |
commit | a332922a526f91876fc8ffa73a45322800bf0e73 (patch) | |
tree | 33badf13abc58ef5cda72707d251823b1cce430a /lib/x509asn1.c | |
parent | 8854f8d45a5cef688377c29e49e8d8b2bd668ee4 (diff) | |
download | curl-a332922a526f91876fc8ffa73a45322800bf0e73.tar.gz |
gtls: implement CURLOPT_CERTINFO
Diffstat (limited to 'lib/x509asn1.c')
-rw-r--r-- | lib/x509asn1.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/x509asn1.c b/lib/x509asn1.c index 4d50f0e0c..8b32d6bf7 100644 --- a/lib/x509asn1.c +++ b/lib/x509asn1.c @@ -22,7 +22,7 @@ #include "curl_setup.h" -#if defined(USE_GSKIT) || defined(USE_NSS) +#if defined(USE_GSKIT) || defined(USE_NSS) || defined(USE_GNUTLS) #include <curl/curl.h> #include "urldata.h" @@ -209,7 +209,6 @@ static const char * octet2str(const char * beg, const char * end) } static const char * bit2str(const char * beg, const char * end) - { /* Convert an ASN.1 bit string to a printable string. Return the dynamically allocated string, or NULL if an error occurs. */ @@ -1024,7 +1023,7 @@ CURLcode Curl_extract_certinfo(struct connectdata * conn, return CURLE_OK; } -#endif /* USE_GSKIT or USE_NSS */ +#endif /* USE_GSKIT or USE_NSS or USE_GNUTLS */ #if defined(USE_GSKIT) |