X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=test%2Fclienthellotest.c;h=6c7783158fec8e367e2c05815691151b76b29004;hp=10e3b1b1b172408e7fffcbb893d5c4453cc3d44d;hb=1f483a69bce11c940309edc437eee6e32294d5f2;hpb=7d7f6834e542e53f604b46a72d57fad773d4b2bc diff --git a/test/clienthellotest.c b/test/clienthellotest.c index 10e3b1b1b1..6c7783158f 100644 --- a/test/clienthellotest.c +++ b/test/clienthellotest.c @@ -1,7 +1,7 @@ /* * Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved. * - * Licensed under the OpenSSL license (the "License"). You may not use + * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html @@ -78,7 +78,7 @@ static int test_client_hello(int currtest) ctx = SSL_CTX_new(TLS_method()); if (!TEST_ptr(ctx)) goto end; - if (!TEST_true(SSL_CTX_set_max_proto_version(ctx, TLS_MAX_VERSION))) + if (!TEST_true(SSL_CTX_set_max_proto_version(ctx, 0))) goto end; switch(currtest) {