Преглед изворни кода

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

Nick Mathewson пре 8 година
родитељ
комит
0c5d8d9a4f
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
     return 0;
   }
   }
-#endif
 #endif
 #endif
   (void) ssl;
   (void) ssl;
   (void) m;
   (void) m;
   (void) cipher;
   (void) cipher;
   return 1; /* No way to search */
   return 1; /* No way to search */
+#endif
 }
 }
 
 
 /** Remove from v2_cipher_list every cipher that we don't support, so that
 /** Remove from v2_cipher_list every cipher that we don't support, so that