summaryrefslogtreecommitdiff
path: root/lib/gnutls_kx.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-08-10 10:18:16 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-08-10 11:42:28 +0200
commit63d331755f55fc121481b42d7ac3210c89603ea8 (patch)
tree27057a9dc890dc52384d72c13542868219efa90c /lib/gnutls_kx.c
parent14aa5a5f99f1e50a3643a008c8aed358a1517def (diff)
downloadgnutls-remove-rsa-export.tar.gz
Removed support for EXPORT ciphersuitesremove-rsa-export
Diffstat (limited to 'lib/gnutls_kx.c')
-rw-r--r--lib/gnutls_kx.c11
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;