In RSA, DSA, DH, and RAND - if the "***_new()" function fails because the
[openssl.git] / crypto / rand / rand_err.c
index d1263edf80f6e0a7744750b632c9a057a1076544..b77267e213bae3553b19fee6a06775afcfed0c81 100644 (file)
@@ -54,7 +54,8 @@
  */
 
 /* NOTE: this file was auto generated by the mkerr.pl script: any changes
  */
 
 /* NOTE: this file was auto generated by the mkerr.pl script: any changes
- * made to it will be overwritten when the script next updates this file.
+ * made to it will be overwritten when the script next updates this file,
+ * only reason strings will be preserved.
  */
 
 #include <stdio.h>
  */
 
 #include <stdio.h>
 #include <openssl/rand.h>
 
 /* BEGIN ERROR CODES */
 #include <openssl/rand.h>
 
 /* BEGIN ERROR CODES */
-#ifndef NO_ERR
+#ifndef OPENSSL_NO_ERR
 static ERR_STRING_DATA RAND_str_functs[]=
        {
 static ERR_STRING_DATA RAND_str_functs[]=
        {
+{ERR_PACK(0,RAND_F_RAND_GET_RAND_METHOD,0),    "RAND_get_rand_method"},
 {ERR_PACK(0,RAND_F_SSLEAY_RAND_BYTES,0),       "SSLEAY_RAND_BYTES"},
 {0,NULL}
        };
 
 static ERR_STRING_DATA RAND_str_reasons[]=
        {
 {ERR_PACK(0,RAND_F_SSLEAY_RAND_BYTES,0),       "SSLEAY_RAND_BYTES"},
 {0,NULL}
        };
 
 static ERR_STRING_DATA RAND_str_reasons[]=
        {
-{RAND_R_PRNG_NOT_SEEDED                  ,"prng not seeded"},
+{RAND_R_PRNG_NOT_SEEDED                  ,"PRNG not seeded"},
 {0,NULL}
        };
 
 {0,NULL}
        };
 
@@ -84,7 +86,7 @@ void ERR_load_RAND_strings(void)
        if (init)
                {
                init=0;
        if (init)
                {
                init=0;
-#ifndef NO_ERR
+#ifndef OPENSSL_NO_ERR
                ERR_load_strings(ERR_LIB_RAND,RAND_str_functs);
                ERR_load_strings(ERR_LIB_RAND,RAND_str_reasons);
 #endif
                ERR_load_strings(ERR_LIB_RAND,RAND_str_functs);
                ERR_load_strings(ERR_LIB_RAND,RAND_str_reasons);
 #endif