diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-12-12 19:39:38 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-12-13 01:43:43 +0100 |
commit | 7538cb82f941ecede9575aa04d401ffbe1dfb790 (patch) | |
tree | 845420351598589819d841dbafc273de5bee8320 /ssl/statem/statem_srvr.c | |
parent | Allow ChaCha20-Poly1305 in DTLS (diff) | |
download | openssl-7538cb82f941ecede9575aa04d401ffbe1dfb790.tar.xz openssl-7538cb82f941ecede9575aa04d401ffbe1dfb790.zip |
remove ancient SSLeay bug workaround
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to '')
-rw-r--r-- | ssl/statem/statem_srvr.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c index 51dcc9eee8..6c6e41dcb3 100644 --- a/ssl/statem/statem_srvr.c +++ b/ssl/statem/statem_srvr.c @@ -2421,14 +2421,9 @@ MSG_PROCESS_RETURN tls_process_client_key_exchange(SSL *s, PACKET *pkt) i = 0; } if (PACKET_remaining(pkt) != i) { - if (!(s->options & SSL_OP_SSLEAY_080_CLIENT_DH_BUG)) { - SSLerr(SSL_F_TLS_PROCESS_CLIENT_KEY_EXCHANGE, - SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG); - goto err; - } else { - *pkt = bookmark; - i = PACKET_remaining(pkt); - } + SSLerr(SSL_F_TLS_PROCESS_CLIENT_KEY_EXCHANGE, + SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG); + goto err; } if (alg_k & SSL_kDHr) idx = SSL_PKEY_DH_RSA; |