projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make "make test" fail if bntest fails an internal selfcheck.
[openssl.git]
/
crypto
/
bn
/
bntest.c
diff --git
a/crypto/bn/bntest.c
b/crypto/bn/bntest.c
index d0e9be6cda7eeeb035c683c7f611c7d95baf95df..c9bd0b877314ecaaa6731bb99c3b5ecb9bdc544f 100644
(file)
--- a/
crypto/bn/bntest.c
+++ b/
crypto/bn/bntest.c
@@
-212,6
+212,7
@@
int main(int argc, char *argv[])
/**/
exit(0);
err:
+ BIO_puts(out,"1\n"); /* make sure bc fails if we are piping to it */
ERR_load_crypto_strings();
ERR_print_errors(out);
exit(1);