projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a test for the certificate callback
[openssl.git]
/
test
/
clienthellotest.c
diff --git
a/test/clienthellotest.c
b/test/clienthellotest.c
index 5eded83bda1ce8152f792edc0e55f027145db5f2..10e3b1b1b172408e7fffcbb893d5c4453cc3d44d 100644
(file)
--- a/
test/clienthellotest.c
+++ b/
test/clienthellotest.c
@@
-78,6
+78,8
@@
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)))
+ goto end;
switch(currtest) {
case TEST_SET_SESSION_TICK_DATA_VER_NEG: