Drop support for redundant EC curves
This commit is contained in:
parent
8c3c7b614c
commit
6a71ada1c8
|
@ -106,8 +106,6 @@ int TLSBoxVerifyPeer(int ok, X509_STORE_CTX *ctx) {
|
|||
- (BOOL)startWithError:(NSError *__autoreleasing *)error
|
||||
{
|
||||
if (!TLSBoxIsOpenSSLLoaded) {
|
||||
// OPENSSL_init_ssl(0, NULL);
|
||||
|
||||
TLSBoxIsOpenSSLLoaded = YES;
|
||||
}
|
||||
|
||||
|
@ -126,7 +124,6 @@ int TLSBoxVerifyPeer(int ok, X509_STORE_CTX *ctx) {
|
|||
else {
|
||||
SSL_CTX_set_verify(self.ctx, SSL_VERIFY_NONE, NULL);
|
||||
}
|
||||
SSL_CTX_set1_curves_list(self.ctx, "X25519:prime256v1:secp521r1:secp384r1:secp256k1");
|
||||
|
||||
self.ssl = SSL_new(self.ctx);
|
||||
|
||||
|
|
Loading…
Reference in New Issue