diff options
-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; } |