diff options
author | Nokis Mavrogiannopoulos | 2007-12-02 16:17:54 +0000 |
---|---|---|
committer | Nokis Mavrogiannopoulos | 2007-12-02 16:17:54 +0000 |
commit | 421bad90160111f2470565540db237351b5a3963 (patch) | |
tree | 9733d13336bb367846a3f1bf1d16b59ea2a16820 /src | |
parent | d51667e406c2099865a4eec366fdab9d4578b683 (diff) |
The compatibility mode can now be enabled only using the GnuTLSPriorities string.
Diffstat (limited to 'src')
-rw-r--r-- | src/gnutls_hooks.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gnutls_hooks.c b/src/gnutls_hooks.c index 1af82a7..e3edba2 100644 --- a/src/gnutls_hooks.c +++ b/src/gnutls_hooks.c | |||
@@ -631,11 +631,6 @@ static mgs_handle_t *create_gnutls_handle(apr_pool_t * pool, conn_rec * c) | |||
631 | 631 | ||
632 | gnutls_init(&ctxt->session, GNUTLS_SERVER); | 632 | gnutls_init(&ctxt->session, GNUTLS_SERVER); |
633 | 633 | ||
634 | /* This is not very good as it trades security for compatibility, | ||
635 | * but it is the only way to be ultra-portable. | ||
636 | */ | ||
637 | gnutls_session_enable_compatibility_mode(ctxt->session); | ||
638 | |||
639 | /* because we don't set any default priorities here (we set later at | 634 | /* because we don't set any default priorities here (we set later at |
640 | * the user hello callback) we need to at least set this in order for | 635 | * the user hello callback) we need to at least set this in order for |
641 | * gnutls to be able to read packets. | 636 | * gnutls to be able to read packets. |