summaryrefslogtreecommitdiffstats
path: root/test/handshake_helper.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2017-03-15 16:07:07 +0000
committerDr. Stephen Henson <steve@openssl.org>2017-03-16 18:07:19 +0000
commit2e21539b2b57df9926d165243efb60480f546ba7 (patch)
tree83a2e1fab84479ce9020147b72f70e70cec3ca63 /test/handshake_helper.h
parentf8f16d8ea48fd331d384dad3027a925e7dc90f0b (diff)
Add ExpectedClientCANames
Add ExpectedClientCANames: for client auth this checks to see if the list of certificate authorities supplied by the server matches the expected value. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2969)
Diffstat (limited to 'test/handshake_helper.h')
-rw-r--r--test/handshake_helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/handshake_helper.h b/test/handshake_helper.h
index 1f079c932b..a7df5845de 100644
--- a/test/handshake_helper.h
+++ b/test/handshake_helper.h
@@ -58,6 +58,8 @@ typedef struct handshake_result {
int client_sign_hash;
/* client signature type */
int client_sign_type;
+ /* Client CA names */
+ STACK_OF(X509_NAME) *client_ca_names;
} HANDSHAKE_RESULT;
HANDSHAKE_RESULT *HANDSHAKE_RESULT_new(void);