diff options
author | Patrick Monnerat <pm@datasphere.ch> | 2014-10-13 18:34:51 +0200 |
---|---|---|
committer | Patrick Monnerat <pm@datasphere.ch> | 2014-10-13 18:34:51 +0200 |
commit | 357ff4d1dc1209b67183d14f544757abe2c8d60e (patch) | |
tree | d3c6ca5ceeda1dc8c251a988a99f43524680105c /lib/vtls/vtls.h | |
parent | 265b9a2e493b685e8118bd027905ed52bcde365a (diff) |
Factorize pinned public key code into generic file handling and backend specific
Diffstat (limited to 'lib/vtls/vtls.h')
-rw-r--r-- | lib/vtls/vtls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h index 4c29d98a2..99965156d 100644 --- a/lib/vtls/vtls.h +++ b/lib/vtls/vtls.h @@ -108,6 +108,9 @@ void Curl_ssl_md5sum(unsigned char *tmp, /* input */ size_t tmplen, unsigned char *md5sum, /* output */ size_t md5len); +/* Check pinned public key. */ +CURLcode Curl_pin_peer_pubkey(const char *pinnedpubkey, + const unsigned char *pubkey, size_t pubkeylen); #define SSL_SHUTDOWN_TIMEOUT 10000 /* ms */ |