[tor-commits] [tor/master] Move some more code inside a tortls.c ifdef to fix deadcode warning.

nickm at torproject.org nickm at torproject.org
Fri Dec 18 16:14:24 UTC 2015


commit 0c5d8d9a4f651d25369c17ac0a194a6928310902
Author: Nick Mathewson <nickm at torproject.org>
Date:   Fri Dec 18 11:11:42 2015 -0500

    Move some more code inside a tortls.c ifdef to fix deadcode warning.
---
 src/common/tortls.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/tortls.c b/src/common/tortls.c
index 5e0c970..14c283d 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



More information about the tor-commits mailing list