diff options
author | Patrick Monnerat <pm@datasphere.ch> | 2014-10-14 14:58:26 +0200 |
---|---|---|
committer | Patrick Monnerat <pm@datasphere.ch> | 2014-10-14 14:58:26 +0200 |
commit | 473322ec66a0969c3c59e8006f9ac72768b91adf (patch) | |
tree | 1964192f49e48045e13d4d97f247893ef7e22de5 /lib/x509asn1.h | |
parent | 89e543f3830bb8d821fedaa6ca4fb6d776e601b8 (diff) | |
download | curl-473322ec66a0969c3c59e8006f9ac72768b91adf.tar.gz |
Implement pinned public key in GSKit backend
Diffstat (limited to 'lib/x509asn1.h')
-rw-r--r-- | lib/x509asn1.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/x509asn1.h b/lib/x509asn1.h index 274d728b7..075c424f3 100644 --- a/lib/x509asn1.h +++ b/lib/x509asn1.h @@ -76,8 +76,9 @@ /* ASN.1 parsed element. */ typedef struct { + const char * header; /* Pointer to header byte. */ const char * beg; /* Pointer to element data. */ - const char * end; /* Pointer to 1st byte after element data. */ + const char * end; /* Pointer to 1st byte after element. */ unsigned char class; /* ASN.1 element class. */ unsigned char tag; /* ASN.1 element tag. */ bool constructed; /* Element is constructed. */ @@ -102,6 +103,7 @@ typedef struct { curl_asn1Element notBefore; curl_asn1Element notAfter; curl_asn1Element subject; + curl_asn1Element subjectPublicKeyInfo; curl_asn1Element subjectPublicKeyAlgorithm; curl_asn1Element subjectPublicKey; curl_asn1Element issuerUniqueID; |