New error code ERR_R_DISABLED
[openssl.git] / crypto / pem / pem_err.c
index 8b1789b11c9acb1dec5cc2fd8e8d6da97ee26883..3b39b84d66e13798348cc712917453d9a5d7b926 100644 (file)
@@ -63,7 +63,7 @@
 #include <openssl/pem.h>
 
 /* BEGIN ERROR CODES */
-#ifndef NO_ERR
+#ifndef OPENSSL_NO_ERR
 static ERR_STRING_DATA PEM_str_functs[]=
        {
 {ERR_PACK(0,PEM_F_D2I_PKCS8PRIVATEKEY_BIO,0),  "d2i_PKCS8PrivateKey_bio"},
@@ -122,7 +122,7 @@ void ERR_load_PEM_strings(void)
        if (init)
                {
                init=0;
-#ifndef NO_ERR
+#ifndef OPENSSL_NO_ERR
                ERR_load_strings(ERR_LIB_PEM,PEM_str_functs);
                ERR_load_strings(ERR_LIB_PEM,PEM_str_reasons);
 #endif