summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-18 11:11:42 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-18 11:11:42 -0500
commit0c5d8d9a4f651d25369c17ac0a194a6928310902 (patch)
tree9fa96131a403b5f2ae716804b4b893dce4bc5196 /src
parent4ede2decadca1decb5f6755c6d65a459d4d09c95 (diff)
downloadtor-0c5d8d9a4f651d25369c17ac0a194a6928310902.tar.gz
tor-0c5d8d9a4f651d25369c17ac0a194a6928310902.zip
Move some more code inside a tortls.c ifdef to fix deadcode warning.
Diffstat (limited to 'src')
-rw-r--r--src/common/tortls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c
index 5e0c97096d..14c283de55 100644
--- a/src/common/tortls.c
+++ b/src/common/tortls.c
@@ -1352,11 +1352,11 @@ find_cipher_by_id(const SSL *ssl, const SSL_METHOD *m, uint16_t cipher)
return 0;
}
#endif
-#endif
(void) ssl;
(void) m;
(void) cipher;
return 1; /* No way to search */
+#endif
}
/** Remove from v2_cipher_list every cipher that we don't support, so that