浏览代码

fix travis failure

Karel Miko 8 年之前
父节点
当前提交
15db3eab59
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);