X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Frand%2Frand_err.c;h=b77267e213bae3553b19fee6a06775afcfed0c81;hb=5b194dfbd5bae8f3d034b712f50d824952f58ba8;hp=e6a7e56dca9c6dfa70439ff5e7503670a18b7c80;hpb=1a2450bfc3e785c59882e6634c80365446cceabe;p=oweals%2Fopenssl.git diff --git a/crypto/rand/rand_err.c b/crypto/rand/rand_err.c index e6a7e56dca..b77267e213 100644 --- a/crypto/rand/rand_err.c +++ b/crypto/rand/rand_err.c @@ -54,7 +54,8 @@ */ /* 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 @@ -62,9 +63,10 @@ #include /* BEGIN ERROR CODES */ -#ifndef NO_ERR +#ifndef OPENSSL_NO_ERR 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} }; @@ -84,7 +86,7 @@ void ERR_load_RAND_strings(void) 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