Browse Source

fix travis failure

Karel Miko 8 years ago
parent
commit
15db3eab59
1 changed files with 2 additions and 0 deletions
  1. 2 0
      testprof/x86_prof.c

+ 2 - 0
testprof/x86_prof.c

@@ -322,7 +322,9 @@ static unsigned long my_test_rng(unsigned char *buf, unsigned long len,
 
 void reg_algs(void)
 {
+#ifdef LTC_PRNG_ENABLE_LTC_RNG
   unsigned long before;
+#endif
   int err;
 
   atexit(_unregister_all);