Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
sendmail
sendmail-8.15.2-openssl-1.1.0-ecdhe-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sendmail-8.15.2-openssl-1.1.0-ecdhe-fix.patch of Package sendmail
diff --git a/sendmail/tls.c b/sendmail/tls.c index 16cb93f..9338380 100644 --- a/sendmail/tls.c +++ b/sendmail/tls.c @@ -1329,13 +1329,8 @@ inittls(ctx, req, options, srv, certfile, keyfile, cacertpath, cacertfile, dhpar } #if _FFR_TLS_EC - ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); - if (ecdh != NULL) - { - SSL_CTX_set_options(*ctx, SSL_OP_SINGLE_ECDH_USE); - SSL_CTX_set_tmp_ecdh(*ctx, ecdh); - EC_KEY_free(ecdh); - } + SSL_CTX_set_options(*ctx, SSL_OP_SINGLE_ECDH_USE); + SSL_CTX_set_ecdh_auto(*ctx, 1); #endif /* _FFR_TLS_EC */ }
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