projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ifdef cleanup, part 4a: '#ifdef undef'
[openssl.git]
/
crypto
/
rand
/
randtest.c
diff --git
a/crypto/rand/randtest.c
b/crypto/rand/randtest.c
index 91bcac9906b29fddf170f0435ce6979151a2c1f0..3c2628cb1574ea7c3f103120e3720e375a6c1bba 100644
(file)
--- a/
crypto/rand/randtest.c
+++ b/
crypto/rand/randtest.c
@@
-133,16
+133,6
@@
int main(int argc, char **argv)
printf("test 1 done\n");
/* test 2 */
printf("test 1 done\n");
/* test 2 */
-#ifdef undef
- d = 0;
- for (i = 0; i < 16; i++)
- d += n2[i] * n2[i];
- d = d * 16.0 / 5000.0 - 5000.0;
- if (!((1.03 < d) && (d < 57.4))) {
- printf("test 2 failed, X=%.2f\n", d);
- err++;
- }
-#endif
d = 0;
for (i = 0; i < 16; i++)
d += n2[i] * n2[i];
d = 0;
for (i = 0; i < 16; i++)
d += n2[i] * n2[i];