projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/shlibloadtest.c: make some variables block local
[openssl.git]
/
test
/
sslbuffertest.c
diff --git
a/test/sslbuffertest.c
b/test/sslbuffertest.c
index 601097637088803c1ec33d845cfda78dead9048d..b8b1f52dde1d875eff11d2edd21cf528e7b4d9a6 100644
(file)
--- a/
test/sslbuffertest.c
+++ b/
test/sslbuffertest.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright 2016-201
7
The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2016-201
8
The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL licenses, (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the OpenSSL licenses, (the "License");
* you may not use this file except in compliance with the License.
@@
-105,7
+105,7
@@
static int test_func(int test)
if (!TEST_size_t_eq(len, sizeof(testdata)))
goto end;
/*
if (!TEST_size_t_eq(len, sizeof(testdata)))
goto end;
/*
- * Now read the test data. It may take more attemps here because
+ * Now read the test data. It may take more attemp
t
s here because
* it could fail once for each byte read, including all overhead
* bytes from the record header/padding etc.
*/
* it could fail once for each byte read, including all overhead
* bytes from the record header/padding etc.
*/
@@
-166,6
+166,7
@@
int setup_tests(void)
return 0;
if (!create_ssl_ctx_pair(TLS_server_method(), TLS_client_method(),
return 0;
if (!create_ssl_ctx_pair(TLS_server_method(), TLS_client_method(),
+ TLS1_VERSION, TLS_MAX_VERSION,
&serverctx, &clientctx, cert, pkey)) {
TEST_error("Failed to create SSL_CTX pair\n");
return 0;
&serverctx, &clientctx, cert, pkey)) {
TEST_error("Failed to create SSL_CTX pair\n");
return 0;