Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-openssl-1_1
openssl-1_1-use-seclevel2-in-tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-1_1-use-seclevel2-in-tests.patch of Package mingw64-openssl-1_1
Index: openssl-1.1.1d/test/ssl_test.c =================================================================== --- openssl-1.1.1d.orig/test/ssl_test.c +++ openssl-1.1.1d/test/ssl_test.c @@ -435,6 +440,7 @@ static int test_handshake(int idx) #endif if (test_ctx->method == SSL_TEST_METHOD_TLS) { server_ctx = SSL_CTX_new(TLS_server_method()); + SSL_CTX_set_security_level(server_ctx, 1); if (!TEST_true(SSL_CTX_set_max_proto_version(server_ctx, TLS_MAX_VERSION))) goto err; @@ -443,21 +449,25 @@ static int test_handshake(int idx) SSL_TEST_SERVERNAME_CB_NONE) { if (!TEST_ptr(server2_ctx = SSL_CTX_new(TLS_server_method()))) goto err; + SSL_CTX_set_security_level(server2_ctx, 1); if (!TEST_true(SSL_CTX_set_max_proto_version(server2_ctx, TLS_MAX_VERSION))) goto err; } client_ctx = SSL_CTX_new(TLS_client_method()); + SSL_CTX_set_security_level(client_ctx, 1); if (!TEST_true(SSL_CTX_set_max_proto_version(client_ctx, TLS_MAX_VERSION))) goto err; if (test_ctx->handshake_mode == SSL_TEST_HANDSHAKE_RESUME) { resume_server_ctx = SSL_CTX_new(TLS_server_method()); + SSL_CTX_set_security_level(resume_server_ctx, 1); if (!TEST_true(SSL_CTX_set_max_proto_version(resume_server_ctx, TLS_MAX_VERSION))) goto err; resume_client_ctx = SSL_CTX_new(TLS_client_method()); + SSL_CTX_set_security_level(resume_client_ctx, 1); if (!TEST_true(SSL_CTX_set_max_proto_version(resume_client_ctx, TLS_MAX_VERSION))) goto err;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor