sslapitest: don't leak the SSL_CTX pair
authorBen Kaduk <kaduk@mit.edu>
Mon, 16 Mar 2020 18:02:14 +0000 (11:02 -0700)
committerMatt Caswell <matt@openssl.org>
Tue, 17 Mar 2020 10:00:35 +0000 (10:00 +0000)
commit19599138463e910a9ee4cfa122e941752491ffc3
treecd0158111d98939ae0daa4dc9c3d32487f31a267
parent2f0dab7e59cc50c89b6d54962b81cf96c30fe725
sslapitest: don't leak the SSL_CTX pair

We have no need for a new set of SSL_CTXs in test_ccs_change_cipher(), so
just keep using the original ones.  Also, fix a typo in a comment.

[extended tests]

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11336)

(cherry picked from commit b3e6d666e351d45e93d29fe3813245b92a0f5815)
test/sslapitest.c