summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2009-02-11 17:30:58 +0100
committerSimon Josefsson <simon@josefsson.org>2009-02-11 17:30:58 +0100
commita3ac6ce0a076e5b8c4e566573e906e3a35686493 (patch)
tree7a718fe74b1f1aaf4a051f01dc969e74e2e68278
parentb6d7c1c1c6f9e0b49d379ea66f46900909471001 (diff)
downloadgnutls-a3ac6ce0a076e5b8c4e566573e906e3a35686493.tar.gz
gnutls-serv: No longer disable MAC padding by default.
-rw-r--r--NEWS3
-rw-r--r--src/serv.c5
2 files changed, 3 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index a184428e91..df317673dd 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,9 @@ information. This avoids code duplication.
Use --priority NORMAL:%VERIFY_ALLOW_X509_V1_CA_CRT to permit V1 CAs to
be used for chain verification.
+** gnutls-serv: No longer disable MAC padding by default.
+Use --priority NORMAL:%COMPAT to disable MAC padding again.
+
** libgnutls: New priority strings %VERIFY_ALLOW_SIGN_RSA_MD5
** and %VERIFY_ALLOW_X509_V1_CA_CRT.
They can be used to override the default certificate chain validation
diff --git a/src/serv.c b/src/serv.c
index 218f64e65a..cef62ab587 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -412,11 +412,6 @@ initialize_session (void)
gnutls_certificate_server_set_request (session, GNUTLS_CERT_REQUEST);
}
- /* Set maximum compatibility mode. This is only suggested on public webservers
- * that need to trade security for compatibility
- */
- gnutls_session_enable_compatibility_mode (session);
-
#ifdef ENABLE_OPRFI
if (info.opaque_prf_input)
gnutls_oprfi_enable_server (session, oprfi_callback, NULL);