Procházet zdrojové kódy

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

Nick Mathewson před 8 roky
rodič
revize
0c5d8d9a4f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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