Pārlūkot izejas kodu

Move some more code inside a tortls.c ifdef to fix deadcode warning.

Nick Mathewson 8 gadi atpakaļ
vecāks
revīzija
0c5d8d9a4f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/common/tortls.c

+ 1 - 1
src/common/tortls.c

@@ -1351,12 +1351,12 @@ 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