Blame SOURCES/unbound-1.13.1-rh1991005.patch

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