summaryrefslogtreecommitdiffstats
path: root/crypto/bn/bntest.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-12-06 10:32:55 +0000
committerBodo Möller <bodo@openssl.org>2000-12-06 10:32:55 +0000
commit0a52d38b31ee56479c80509716c3bd46b764190a (patch)
treedf2933809baa4761b81859b83d3c4e3427494a06 /crypto/bn/bntest.c
parent902d1051b140d6677e05a0e6eb8a429d2f81ee46 (diff)
Use bc's "print" feature whenever it is available,
not just on certain platforms.
Diffstat (limited to 'crypto/bn/bntest.c')
-rw-r--r--crypto/bn/bntest.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/bn/bntest.c b/crypto/bn/bntest.c
index 12d68fc526..f27087d59c 100644
--- a/crypto/bn/bntest.c
+++ b/crypto/bn/bntest.c
@@ -109,11 +109,9 @@ static const char rnd_seed[] = "string to make the random number generator think
static void message(BIO *out, char *m)
{
fprintf(stderr, "test %s\n", m);
-#if defined(linux) || defined(__FreeBSD__) /* can we use GNU bc features? */
BIO_puts(out, "print \"test ");
BIO_puts(out, m);
BIO_puts(out, "\\n\"\n");
-#endif
}
int main(int argc, char *argv[])