GNUTLS: Raise minimum group size for Diffie-Hellman-Merkle key exchange
A 2048-bit long P should really be the minimum these days.
This commit is contained in:
parent
5797027e9f
commit
25ecd3cc86
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ rb_ssl_init_fd(rb_fde_t *const F, const rb_fd_tls_direction dir)
|
|||
gnutls_init((gnutls_session_t *) F->ssl, init_flags);
|
||||
gnutls_set_default_priority(SSL_P(F));
|
||||
gnutls_credentials_set(SSL_P(F), GNUTLS_CRD_CERTIFICATE, server_cert_key);
|
||||
gnutls_dh_set_prime_bits(SSL_P(F), 1024);
|
||||
gnutls_dh_set_prime_bits(SSL_P(F), 2048);
|
||||
gnutls_priority_set(SSL_P(F), default_priority);
|
||||
|
||||
gnutls_transport_set_ptr(SSL_P(F), (gnutls_transport_ptr_t) F);
|
||||
|
|
Loading…
Reference in a new issue