diff options
author | Adam Langley <agl@chromium.org> | 2015-02-12 02:30:43 +0300 |
---|---|---|
committer | Adam Langley <agl@chromium.org> | 2015-02-13 22:00:48 +0300 |
commit | 6f8c3669894a1d8498d545efb33bd84440b4e9fc (patch) | |
tree | 3f54b1a405fdfe98aaadb27fb05b6eeb654b423d /include/openssl/x509v3.h | |
parent | d0f5df2d71768e4ac68d5803529e850f88dd4107 (diff) |
Set optional peername when X509_check_host() succeeds.
Pass address of X509_VERIFY_PARAM_ID peername to X509_check_host().
(Imported from upstream's 55fe56837a65ff505b492aa6aee748bf5fa91fec.)
Change-Id: Ic21bfb361b8eb25677c4c2175882fa95ea44fc31
Diffstat (limited to 'include/openssl/x509v3.h')
-rw-r--r-- | include/openssl/x509v3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/x509v3.h b/include/openssl/x509v3.h index a2441fa7..dcf105a2 100644 --- a/include/openssl/x509v3.h +++ b/include/openssl/x509v3.h @@ -714,7 +714,7 @@ OPENSSL_EXPORT STACK_OF(OPENSSL_STRING) *X509_get1_ocsp(X509 *x); #define _X509_CHECK_FLAG_DOT_SUBDOMAINS 0x8000 OPENSSL_EXPORT int X509_check_host(X509 *x, const unsigned char *chk, size_t chklen, - unsigned int flags); + unsigned int flags, char **peername); OPENSSL_EXPORT int X509_check_email(X509 *x, const unsigned char *chk, size_t chklen, unsigned int flags); OPENSSL_EXPORT int X509_check_ip(X509 *x, const unsigned char *chk, size_t chklen, |