mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Use default DH params. Fixes #290
This commit is contained in:
parent
a1473fa843
commit
74ad0a99cb
1 changed files with 3 additions and 0 deletions
|
|
@ -141,6 +141,9 @@ SSL_CTX *setup_ssl_listen(const SSL_METHOD *method)
|
|||
bye("SSL_CTX_new(): %s.", ERR_error_string(ERR_get_error(), NULL));
|
||||
|
||||
SSL_CTX_set_options(sslctx, SSL_OP_ALL | SSL_OP_NO_SSLv2);
|
||||
#ifdef SSL_CTX_set_dh_auto
|
||||
SSL_CTX_set_dh_auto(sslctx, 1);
|
||||
#endif
|
||||
|
||||
/* Secure ciphers list taken from Nsock. */
|
||||
if (o.sslciphers == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue