diff options
Diffstat (limited to 'src/lib/libcrypto/err')
-rw-r--r-- | src/lib/libcrypto/err/err.c | 6 | ||||
-rw-r--r-- | src/lib/libcrypto/err/openssl.ec | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c index c78790a54c..53687d79ab 100644 --- a/src/lib/libcrypto/err/err.c +++ b/src/lib/libcrypto/err/err.c | |||
@@ -621,7 +621,8 @@ static void err_load_strings(int lib, ERR_STRING_DATA *str) | |||
621 | { | 621 | { |
622 | while (str->error) | 622 | while (str->error) |
623 | { | 623 | { |
624 | str->error|=ERR_PACK(lib,0,0); | 624 | if (lib) |
625 | str->error|=ERR_PACK(lib,0,0); | ||
625 | ERRFN(err_set_item)(str); | 626 | ERRFN(err_set_item)(str); |
626 | str++; | 627 | str++; |
627 | } | 628 | } |
@@ -637,7 +638,8 @@ void ERR_unload_strings(int lib, ERR_STRING_DATA *str) | |||
637 | { | 638 | { |
638 | while (str->error) | 639 | while (str->error) |
639 | { | 640 | { |
640 | str->error|=ERR_PACK(lib,0,0); | 641 | if (lib) |
642 | str->error|=ERR_PACK(lib,0,0); | ||
641 | ERRFN(err_del_item)(str); | 643 | ERRFN(err_del_item)(str); |
642 | str++; | 644 | str++; |
643 | } | 645 | } |
diff --git a/src/lib/libcrypto/err/openssl.ec b/src/lib/libcrypto/err/openssl.ec index 447a7f87ed..f8cd6937e7 100644 --- a/src/lib/libcrypto/err/openssl.ec +++ b/src/lib/libcrypto/err/openssl.ec | |||
@@ -27,7 +27,7 @@ L DSO crypto/dso/dso.h crypto/dso/dso_err.c | |||
27 | L ENGINE crypto/engine/engine.h crypto/engine/eng_err.c | 27 | L ENGINE crypto/engine/engine.h crypto/engine/eng_err.c |
28 | L OCSP crypto/ocsp/ocsp.h crypto/ocsp/ocsp_err.c | 28 | L OCSP crypto/ocsp/ocsp.h crypto/ocsp/ocsp_err.c |
29 | L UI crypto/ui/ui.h crypto/ui/ui_err.c | 29 | L UI crypto/ui/ui.h crypto/ui/ui_err.c |
30 | L FIPS fips/fips.h fips/fips_err.h | 30 | L FIPS fips-1.0/fips.h fips-1.0/fips_err.h |
31 | 31 | ||
32 | # additional header files to be scanned for function names | 32 | # additional header files to be scanned for function names |
33 | L NONE crypto/x509/x509_vfy.h NONE | 33 | L NONE crypto/x509/x509_vfy.h NONE |