diff options
author | djm <> | 2006-06-27 05:07:03 +0000 |
---|---|---|
committer | djm <> | 2006-06-27 05:07:03 +0000 |
commit | 7fe7e1ed6bcd0e342aed7c0f890962dda616aa0d (patch) | |
tree | 224c33f66b0b932c84dda315d9ba4236bf125b1c /src/lib/libcrypto/err/err.c | |
parent | 3f764f48d2626a43b6eeef7652c28303269d1204 (diff) | |
download | openbsd-7fe7e1ed6bcd0e342aed7c0f890962dda616aa0d.tar.gz openbsd-7fe7e1ed6bcd0e342aed7c0f890962dda616aa0d.tar.bz2 openbsd-7fe7e1ed6bcd0e342aed7c0f890962dda616aa0d.zip |
resolve conflicts
Diffstat (limited to 'src/lib/libcrypto/err/err.c')
-rw-r--r-- | src/lib/libcrypto/err/err.c | 6 |
1 files changed, 4 insertions, 2 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 | } |