Blame SOURCES/unbound-1.13.1-rh1991005.patch

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