Skip to content

Commit

Permalink
Don't change minimum required DH prime length as of yet. Still plenty…
Browse files Browse the repository at this point in the history
… servers out there that use a too small DH prime length.
  • Loading branch information
codesquid committed Jan 8, 2012
1 parent 01eb4ec commit 0b83e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/tlssocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ bool CTlsSocket::Init()
return false;
}

gnutls_dh_set_prime_bits(m_session, 2048);
gnutls_dh_set_prime_bits(m_session, 512);

gnutls_credentials_set(m_session, GNUTLS_CRD_CERTIFICATE, m_certCredentials);

Expand Down

0 comments on commit 0b83e43

Please sign in to comment.