summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bntest.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-06-09 10:19:53 +0000
committerBen Laurie <ben@openssl.org>1999-06-09 10:19:53 +0000
commit233bf734d3dc2033ab24578fa9bf83a1e8e6b97e (patch)
treee37ede56026f8e95a30bcc91b2b04e07e94218f2 /crypto/bn/bntest.c
parent9fe6729b46f770a3f14671366ed77e75f074d8a4 (diff)
Make "make test" fail if bntest fails an internal selfcheck.
Diffstat (limited to 'crypto/bn/bntest.c')
-rw-r--r--crypto/bn/bntest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bn/bntest.c b/crypto/bn/bntest.c
index d0e9be6cda..c9bd0b8773 100644
--- 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);