diff options
author | Adam Langley <agl@chromium.org> | 2015-02-11 15:30:17 -0800 |
---|---|---|
committer | Adam Langley <agl@chromium.org> | 2015-02-13 11:00:47 -0800 |
commit | d0f5df2d71768e4ac68d5803529e850f88dd4107 (patch) | |
tree | b3c7ee0743fd06a267f3a3c964f524a90ea8d846 /crypto/x509/vpm_int.h | |
parent | 82fc3bd333c5ef5839bc539281e773be290b9c48 (diff) | |
download | boringssl-d0f5df2d71768e4ac68d5803529e850f88dd4107.zip boringssl-d0f5df2d71768e4ac68d5803529e850f88dd4107.tar.gz boringssl-d0f5df2d71768e4ac68d5803529e850f88dd4107.tar.bz2 |
New peername element in X509_VERIFY_PARAM_ID.
Declaration, memory management, accessor and documentation.
(Imported from upstream's 1eb57ae2b78c119bfba7ab647951130e968d1664.)
Change-Id: Ifa9672e46445e44a78001b0f9430a93c138d73d7
Diffstat (limited to 'crypto/x509/vpm_int.h')
-rw-r--r-- | crypto/x509/vpm_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509/vpm_int.h b/crypto/x509/vpm_int.h index 6b670af..4ec629f 100644 --- a/crypto/x509/vpm_int.h +++ b/crypto/x509/vpm_int.h @@ -62,6 +62,7 @@ struct X509_VERIFY_PARAM_ID_st { STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */ unsigned int hostflags; /* Flags to control matching features */ + char *peername; /* Matching hostname in peer certificate */ unsigned char *email; /* If not NULL email address to match */ size_t emaillen; unsigned char *ip; /* If not NULL IP address to match */ |