[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 0c5d8d9a4f651d25369c17ac0a194a6928310902
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits