31 lines
737 B
Diff
31 lines
737 B
Diff
From 35bf0b7b048d715f671eb68974fb6b4af6528c67 Mon Sep 17 00:00:00 2001
|
|
From: Jan Friesse <jfriesse@redhat.com>
|
|
Date: Mon, 4 Jul 2022 09:39:47 +0200
|
|
Subject: [PATCH] Revert "Refactor: main: substitute is_auth_req macro"
|
|
|
|
This reverts commit da79b8ba28ad4837a0fee13e5f8fb6f89fe0e24c.
|
|
|
|
authfile != authkey
|
|
|
|
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
|
|
---
|
|
src/main.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/main.c b/src/main.c
|
|
index b50a883..b4a174f 100644
|
|
--- a/src/main.c
|
|
+++ b/src/main.c
|
|
@@ -364,7 +364,7 @@ static int setup_config(int type)
|
|
if (rv < 0)
|
|
goto out;
|
|
|
|
- if (is_auth_req()) {
|
|
+ if (booth_conf->authfile[0] != '\0') {
|
|
rv = read_authkey();
|
|
if (rv < 0)
|
|
goto out;
|
|
--
|
|
2.37.1
|
|
|