summaryrefslogtreecommitdiffstats
path: root/crypto/bn/vms-helper.c
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2000-09-04 15:34:43 +0000
committerBodo Möller <bodo@openssl.org>2000-09-04 15:34:43 +0000
commitbbb8de0966f0181498a0491f42d8b839778a93e7 (patch)
tree5a645a6357da154d8a320950a302cdf6f1d7e793 /crypto/bn/vms-helper.c
parent5e386163801a248063afbc9e346ab1b098356729 (diff)
Avoid abort() throughout the library, except when preprocessor
symbols for debugging are defined.
Diffstat (limited to 'crypto/bn/vms-helper.c')
-rw-r--r--crypto/bn/vms-helper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/bn/vms-helper.c b/crypto/bn/vms-helper.c
index 73af337069..0fa79c4edb 100644
--- a/crypto/bn/vms-helper.c
+++ b/crypto/bn/vms-helper.c
@@ -59,8 +59,10 @@
bn_div_words_abort(int i)
{
+#ifdef BN_DEBUG
#if !defined(NO_STDIO) && !defined(WIN16)
fprintf(stderr,"Division would overflow (%d)\n",i);
#endif
abort();
+#endif
}