diff options
author | Ralf S. Engelschall <rse@openssl.org> | 1998-12-21 10:56:39 +0000 |
---|---|---|
committer | Ralf S. Engelschall <rse@openssl.org> | 1998-12-21 10:56:39 +0000 |
commit | 58964a492275ca9a59a0cd9c8155cb2491b4b909 (patch) | |
tree | c7b16876a5789463bbbb468ef4829c8129b3d718 /rsaref/rsar_err.c | |
parent | d02b48c63a58ea4367a0e905979f140b7d090f86 (diff) | |
download | openssl-58964a492275ca9a59a0cd9c8155cb2491b4b909.tar.gz |
Import of old SSLeay release: SSLeay 0.9.0b
Diffstat (limited to 'rsaref/rsar_err.c')
-rw-r--r-- | rsaref/rsar_err.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/rsaref/rsar_err.c b/rsaref/rsar_err.c index b77f3e7c1a..34840e99f5 100644 --- a/rsaref/rsar_err.c +++ b/rsaref/rsar_err.c @@ -60,6 +60,7 @@ #include "rsaref.h" /* BEGIN ERROR CODES */ +#ifndef NO_ERR static ERR_STRING_DATA RSAREF_str_functs[]= { {ERR_PACK(0,RSAREF_F_BN_REF_MOD_EXP,0), "BN_REF_MOD_EXP"}, @@ -111,14 +112,19 @@ static ERR_STRING_DATA RSAREF_str_reasons[]= {0,NULL}, }; +#endif + void ERR_load_RSAREF_strings() { static int init=1; - if (init) - { + if (init); + {; init=0; +#ifndef NO_ERR ERR_load_strings(ERR_LIB_RSAREF,RSAREF_str_functs); ERR_load_strings(ERR_LIB_RSAREF,RSAREF_str_reasons); +#endif + } } |