diff options
author | Matt Caswell <matt@openssl.org> | 2018-08-13 15:53:42 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-08-20 15:14:01 +0100 |
commit | e97be718044fd9a296f05f13e3ad91427b212b7c (patch) | |
tree | 33f7bfea18a11527ad535f97a7b41ca0bb8ddd31 /test | |
parent | 32097b33bdff520d149ad6c8a11bd344e4ef764b (diff) |
Add support for SSL_CTX_set_post_handshake_auth()
We already have SSL_set_post_handshake_auth(). This just adds the SSL_CTX
equivalent.
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6938)
Diffstat (limited to 'test')
-rw-r--r-- | test/sslapitest.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/sslapitest.c b/test/sslapitest.c index 81761f2f65..d21b39d84c 100644 --- a/test/sslapitest.c +++ b/test/sslapitest.c @@ -4331,13 +4331,12 @@ static int test_pha_key_update(void) || !TEST_true(SSL_CTX_set_max_proto_version(cctx, TLS1_3_VERSION))) goto end; + SSL_CTX_set_post_handshake_auth(cctx, 1); if (!TEST_true(create_ssl_objects(sctx, cctx, &serverssl, &clientssl, NULL, NULL))) goto end; - SSL_set_post_handshake_auth(clientssl, 1); - if (!TEST_true(create_ssl_connection(serverssl, clientssl, SSL_ERROR_NONE))) goto end; |