projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Detect symmetric crypto errors in PKCS7_decrypt.
[oweals/openssl.git]
/
crypto
/
bn
/
vms-helper.c
diff --git
a/crypto/bn/vms-helper.c
b/crypto/bn/vms-helper.c
index 73af3370695be292fe24662fd30e5c3a7a9a77fc..4b63149bf3eb4b27f5665c50a892f2c54acd76c4 100644
(file)
--- a/
crypto/bn/vms-helper.c
+++ b/
crypto/bn/vms-helper.c
@@
-59,8
+59,10
@@
bn_div_words_abort(int i)
{
-#if !defined(NO_STDIO) && !defined(WIN16)
+#ifdef BN_DEBUG
+#if !defined(OPENSSL_NO_STDIO) && !defined(OPENSSL_SYS_WIN16)
fprintf(stderr,"Division would overflow (%d)\n",i);
#endif
abort();
+#endif
}