Import OpenSSL 1.1.0h

This commit is contained in:
Steve Dower
2018-04-13 17:45:41 +00:00
parent f39d324ed3
commit 807cee26df
513 changed files with 11248 additions and 3603 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
* Copyright 2015-2018 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -31,8 +31,8 @@
int main(int argc, char *argv[])
{
SSL_CTX *ctx;
SSL *con;
SSL_CTX *ctx = NULL;
SSL *con = NULL;
BIO *rbio;
BIO *wbio;
BIO *err;
@@ -56,6 +56,8 @@ int main(int argc, char *argv[])
for (; currtest < TOTAL_NUM_TESTS; currtest++) {
testresult = 0;
ctx = SSL_CTX_new(TLS_method());
if (!SSL_CTX_set_max_proto_version(ctx, TLS1_2_VERSION))
goto end;
con = SSL_new(ctx);
rbio = BIO_new(BIO_s_mem());