More changes coming out of the bignum auditing. BN_CTX_get() should ideally
[openssl.git] / crypto / bn / vms-helper.c
index 73af3370695be292fe24662fd30e5c3a7a9a77fc..4b63149bf3eb4b27f5665c50a892f2c54acd76c4 100644 (file)
 
 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
 }