diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-07-02 23:56:56 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-07-02 23:56:56 +0200 |
commit | 487ceacf17219feba0021ed6b68697d464aa3d94 (patch) | |
tree | 59ccfe44a1c129f466fba4a029d523477926d676 | |
parent | 4b04ad0e3e01752599c85da5977b0dfcdcab405b (diff) | |
download | gnutls-487ceacf17219feba0021ed6b68697d464aa3d94.tar.gz |
removed warning for bits==512
-rw-r--r-- | lib/gnutls_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c index ac822a56ff..6221b5e848 100644 --- a/lib/gnutls_ui.c +++ b/lib/gnutls_ui.c @@ -93,7 +93,7 @@ int gnutls_random_art (gnutls_random_art_t type, void gnutls_dh_set_prime_bits (gnutls_session_t session, unsigned int bits) { - if (bits <= 512) _gnutls_audit_log(session, "Note that the security level of the Diffie-Hellman key exchange has been lowered to %u bits and this may allow decryption of the session data\n", bits); + if (bits < 512) _gnutls_audit_log(session, "Note that the security level of the Diffie-Hellman key exchange has been lowered to %u bits and this may allow decryption of the session data\n", bits); session->internals.dh_prime_bits = bits; } |