Make sure to NUL-terminate the string on end-of-file (and error)
[openssl.git] / crypto / bio / bio_err.c
index 68a119d895e87783d8848079cd0228246cf90af7..5df17ff892fad4f456c2fd323bd8048e3ac5d3c9 100644 (file)
@@ -61,6 +61,7 @@
 #include <stdio.h>
 #include <openssl/err.h>
 #include <openssl/bio.h>
+#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_ERR is defined */
 
 /* BEGIN ERROR CODES */
 #ifndef OPENSSL_NO_ERR