25418ea245
Resolves: rhbz#1991005
16 lines
555 B
Diff
16 lines
555 B
Diff
diff --git a/smallapp/unbound-control.c b/smallapp/unbound-control.c
|
|
index d58f1b2..5bfe15b 100644
|
|
--- a/smallapp/unbound-control.c
|
|
+++ b/smallapp/unbound-control.c
|
|
@@ -492,9 +492,7 @@ static void ssl_path_err(const char* s, const char *path)
|
|
{
|
|
unsigned long err;
|
|
err = ERR_peek_error();
|
|
- if (ERR_GET_LIB(err) == ERR_LIB_SYS &&
|
|
- (ERR_GET_FUNC(err) == SYS_F_FOPEN ||
|
|
- ERR_GET_FUNC(err) == SYS_F_FREAD) ) {
|
|
+ if (ERR_GET_LIB(err) == ERR_LIB_SYS) {
|
|
fprintf(stderr, "error: %s\n%s: %s\n",
|
|
s, path, ERR_reason_error_string(err));
|
|
exit(1);
|