Make the no-err option work properly
[openssl.git] / crypto / err / err.c
index 85ff9a52ddcb78635412394ecb1a43ecfffda848..1f943c82a006a65459b9ec8a89ac243139531880 100644 (file)
@@ -212,6 +212,7 @@ static ERR_STRING_DATA ERR_str_reasons[]=
 
 {0,NULL},
        };
+#endif
 
 
 /* Define the predeclared (but externally opaque) "ERR_FNS" type */
@@ -492,6 +493,7 @@ static int int_err_get_next_lib(void)
        }
 
 
+#ifndef OPENSSL_NO_ERR
 #define NUM_SYS_STR_REASONS 127
 #define LEN_SYS_STR_REASON 32