From 487ceacf17219feba0021ed6b68697d464aa3d94 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 2 Jul 2012 23:56:56 +0200 Subject: [PATCH] removed warning for bits==512 --- lib/gnutls_ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gnutls_ui.c b/lib/gnutls_ui.c index ac822a56f..6221b5e84 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; } -- 2.11.4.GIT