mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
One last fix for a warning on non-EC systems
This commit is contained in:
parent
3eb3900510
commit
68dae4cf35
@ -1386,6 +1386,8 @@ tor_tls_context_new(crypto_pk_t *identity, unsigned int key_lifetime,
|
||||
SSL_CTX_set_tmp_ecdh(result->ctx, ec_key);
|
||||
EC_KEY_free(ec_key);
|
||||
}
|
||||
#else
|
||||
(void)flags;
|
||||
#endif
|
||||
SSL_CTX_set_verify(result->ctx, SSL_VERIFY_PEER,
|
||||
always_accept_verify_cb);
|
||||
|
Loading…
Reference in New Issue
Block a user