diff options
author | Daniel Hwang <danielleehwang@gmail.com> | 2015-09-12 14:35:12 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-09-19 23:17:39 +0200 |
commit | 30c131f51f605d35e5d90f4be1727045fef17351 (patch) | |
tree | c8a10cadd384d52586895c6ed3be9033827f5b33 /lib/vtls/vtls.h | |
parent | c979a3d0c45f141f2c728a994c3358f6e696519f (diff) |
ssl: add server cert's "sha256//" hash to verbose
Add a "pinnedpubkey" section to the "Server Certificate" verbose
Bug: https://github.com/bagder/curl/issues/410
Reported-by: W. Mark Kubacki
Closes #430
Closes #410
Diffstat (limited to 'lib/vtls/vtls.h')
-rw-r--r-- | lib/vtls/vtls.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h index 2349e5b93..d6224903a 100644 --- a/lib/vtls/vtls.h +++ b/lib/vtls/vtls.h @@ -117,7 +117,8 @@ CURLcode Curl_ssl_md5sum(unsigned char *tmp, /* input */ unsigned char *md5sum, /* output */ size_t md5len); /* Check pinned public key. */ -CURLcode Curl_pin_peer_pubkey(const char *pinnedpubkey, +CURLcode Curl_pin_peer_pubkey(struct SessionHandle *data, + const char *pinnedpubkey, const unsigned char *pubkey, size_t pubkeylen); bool Curl_ssl_cert_status_request(void); |