Browse Source

unconditonally create ssh_test()

Steffen Jaeckel 6 years ago
parent
commit
f95be00582
2 changed files with 5 additions and 3 deletions
  1. 5 0
      tests/ssh_test.c
  2. 0 3
      tests/tomcrypt_test.h

+ 5 - 0
tests/ssh_test.c

@@ -302,7 +302,12 @@ int ssh_test(void)
    return CRYPT_OK;
    return CRYPT_OK;
 }
 }
 
 
+#else
 
 
+int ssh_test(void)
+{
+   return CRYPT_NOP;
+}
 
 
 #endif
 #endif
 
 

+ 0 - 3
tests/tomcrypt_test.h

@@ -44,10 +44,7 @@ int multi_test(void);
 int prng_test(void);
 int prng_test(void);
 int mpi_test(void);
 int mpi_test(void);
 int padding_test(void);
 int padding_test(void);
-
-#ifdef LTC_SSH
 int ssh_test(void);
 int ssh_test(void);
-#endif
 
 
 #ifdef LTC_PKCS_1
 #ifdef LTC_PKCS_1
 struct ltc_prng_descriptor* no_prng_desc_get(void);
 struct ltc_prng_descriptor* no_prng_desc_get(void);