Latest update.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2016-2020 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* 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
|
||||
@@ -11,6 +11,8 @@
|
||||
#include "ssltestlib.h"
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF(SSL_CIPHER)
|
||||
|
||||
static int docorrupt = 0;
|
||||
|
||||
static void copy_flags(BIO *bio)
|
||||
@@ -193,7 +195,8 @@ static int test_ssl_corrupt(int testidx)
|
||||
|
||||
TEST_info("Starting #%d, %s", testidx, cipher_list[testidx]);
|
||||
|
||||
if (!TEST_true(create_ssl_ctx_pair(TLS_server_method(), TLS_client_method(),
|
||||
if (!TEST_true(create_ssl_ctx_pair(NULL, TLS_server_method(),
|
||||
TLS_client_method(),
|
||||
TLS1_VERSION, 0,
|
||||
&sctx, &cctx, cert, privkey)))
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user