diff options
Diffstat (limited to 'src/lib/libcrypto/err/err.c')
| -rw-r--r-- | src/lib/libcrypto/err/err.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c index 53687d79ab..c78790a54c 100644 --- a/src/lib/libcrypto/err/err.c +++ b/src/lib/libcrypto/err/err.c | |||
| @@ -621,8 +621,7 @@ static void err_load_strings(int lib, ERR_STRING_DATA *str) | |||
| 621 | { | 621 | { |
| 622 | while (str->error) | 622 | while (str->error) |
| 623 | { | 623 | { |
| 624 | if (lib) | 624 | str->error|=ERR_PACK(lib,0,0); |
| 625 | str->error|=ERR_PACK(lib,0,0); | ||
| 626 | ERRFN(err_set_item)(str); | 625 | ERRFN(err_set_item)(str); |
| 627 | str++; | 626 | str++; |
| 628 | } | 627 | } |
| @@ -638,8 +637,7 @@ void ERR_unload_strings(int lib, ERR_STRING_DATA *str) | |||
| 638 | { | 637 | { |
| 639 | while (str->error) | 638 | while (str->error) |
| 640 | { | 639 | { |
| 641 | if (lib) | 640 | str->error|=ERR_PACK(lib,0,0); |
| 642 | str->error|=ERR_PACK(lib,0,0); | ||
| 643 | ERRFN(err_del_item)(str); | 641 | ERRFN(err_del_item)(str); |
| 644 | str++; | 642 | str++; |
| 645 | } | 643 | } |
