From b28828796ad6d65ac463b41bba153f74e4531a6b Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 14 Nov 2014 09:52:32 +0100 Subject: Update OpenSSL version --- main/openssl/ssl/s23_lib.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'main/openssl/ssl/s23_lib.c') diff --git a/main/openssl/ssl/s23_lib.c b/main/openssl/ssl/s23_lib.c index 3bf72831..f3c29d1d 100644 --- a/main/openssl/ssl/s23_lib.c +++ b/main/openssl/ssl/s23_lib.c @@ -107,6 +107,13 @@ int ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) long l; /* We can write SSLv2 and SSLv3 ciphers */ + /* but no ECC ciphers */ + if (c->algorithm_mkey == SSL_kECDHr || + c->algorithm_mkey == SSL_kECDHe || + c->algorithm_mkey == SSL_kEECDH || + c->algorithm_auth == SSL_aECDH || + c->algorithm_auth == SSL_aECDSA) + return 0; if (p != NULL) { l=c->id; -- cgit v1.2.3