Update openssl-equal-latest.patch

openssl-1.1.1
Hakase 2018-04-08 01:01:07 +09:00
parent 0bf28770e4
commit e95167cfd2
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ diff -urN 1/ssl/s3_lib.c 2/ssl/s3_lib.c
+
+ /* not use ECDSA under TLS v1.2 */
+ // if ((alg_a & SSL_aECDSA) && s->version != TLS1_2_VERSION) ok = 0;
+ if ((alg_a & SSL_kRSA) && (alg_k & SSL_aRSA) && s->version == TLS1_2_VERSION) ok = 0;
+ if ((alg_a & SSL_aRSA) && (alg_k & SSL_kRSA) && s->version == TLS1_2_VERSION) ok = 0;
+
#ifndef OPENSSL_NO_PSK
/* with PSK there must be server callback set */