Set Diffie-Hellman prime size (bug SF#3434852).
This commit is contained in:
parent
50f82c3a04
commit
3b20040e9f
@ -139,6 +139,7 @@ TLSSession::TLSSession(ref <security::cert::certificateVerifier> cv)
|
||||
// Sets some default priority on the ciphers, key exchange methods,
|
||||
// macs and compression methods.
|
||||
#if HAVE_GNUTLS_PRIORITY_FUNCS
|
||||
gnutls_dh_set_prime_bits(*m_gnutlsSession, 128);
|
||||
|
||||
if ((res = gnutls_priority_set_direct
|
||||
(*m_gnutlsSession, "NORMAL:%SSL3_RECORD_VERSION", NULL)) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user