[PATCH 04/11] gssd: srchost should never be *

Doug Nazar
2020-07-18T09:24:57Z

Fix silly mistake on my part due to a rebase error.

Signed-off-by: Doug Nazar <nazard@nazar.ca>
---
utils/gssd/krb5_util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/gssd/krb5_util.c b/utils/gssd/krb5_util.c
index 1d7b30c6..a1a9ffe9 100644
--- a/utils/gssd/krb5_util.c
+++ b/utils/gssd/krb5_util.c
@@ -854,7 +854,7 @@ find_keytab_entry(krb5_context context, krb5_keytab kt,
goto out;

/* Get full local hostname */
- if (srchost && strcmp(srchost, "*") != 0) {
+ if (srchost) {
strcpy(myhostname, srchost);
strcpy(myhostad, myhostname);
} else {
--
2.26.2