diff options
Diffstat (limited to 'lib/gnutls_kx.c')
-rw-r--r-- | lib/gnutls_kx.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/gnutls_kx.c b/lib/gnutls_kx.c index e24292c0bf..ff157e654c 100644 --- a/lib/gnutls_kx.c +++ b/lib/gnutls_kx.c @@ -37,7 +37,6 @@ #include "gnutls_mpi.h" #include <gnutls_state.h> #include <gnutls_datum.h> -#include <gnutls_rsa_export.h> #include <gnutls_mbuffers.h> #include "../libextra/ext_inner_application.h" /* isn't this too much? */ @@ -358,16 +357,6 @@ _gnutls_recv_server_kx_message (gnutls_session_t session) if (session->internals.auth_struct->gnutls_process_server_kx != NULL) { - - /* EXCEPTION FOR RSA_EXPORT cipher suite - */ - if (_gnutls_session_is_export (session) != 0 && - _gnutls_peers_cert_less_512 (session) != 0) - { - gnutls_assert (); - return 0; - } - /* Server key exchange packet is optional for PSK. */ if (_gnutls_session_is_psk (session)) optflag = OPTIONAL_PACKET; |