diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2016-02-02 23:16:20 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2016-03-09 19:38:18 +0100 |
commit | 1fc7d6664a3d118f9d5de217c9ffd154ed9ddb6f (patch) | |
tree | bad943bf955e0ec1c03737bc35540ecf851aea2b /test/clienthellotest.c | |
parent | ca3895f0b52628df29bcf87e139971904f4b9b28 (diff) |
Fix usage of OPENSSL_NO_*_METHOD
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
MR: #1824
Diffstat (limited to 'test/clienthellotest.c')
-rw-r--r-- | test/clienthellotest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/clienthellotest.c b/test/clienthellotest.c index 877566131a..14fa4c0a12 100644 --- a/test/clienthellotest.c +++ b/test/clienthellotest.c @@ -115,9 +115,10 @@ int main(int argc, char *argv[]) for (; currtest < TOTAL_NUM_TESTS; currtest++) { testresult = 0; if (currtest == TEST_SET_SESSION_TICK_DATA_TLS_1_2) { -#ifndef OPENSSL_NO_TLS1_2 +#ifndef OPENSSL_NO_TLS1_2_METHOD ctx = SSL_CTX_new(TLSv1_2_method()); #else + testresult = 1; continue; #endif } else { |