From 68dae4cf3563e536e0693648cefcd0c69e512bff Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 25 Dec 2012 22:12:18 -0500 Subject: [PATCH] One last fix for a warning on non-EC systems --- src/common/tortls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/tortls.c b/src/common/tortls.c index f0c4c7dc57..1010425e13 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -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); -- 2.47.3