From 20642bd480088db384c054a8ca7c4b5374a1d724 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 17 Jul 1997 18:17:25 +0000 Subject: [PATCH] Return error if no realm was found. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2401 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/get_host_realm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/krb5/get_host_realm.c b/lib/krb5/get_host_realm.c index 2414c37f3..c71b54d94 100644 --- a/lib/krb5/get_host_realm.c +++ b/lib/krb5/get_host_realm.c @@ -111,6 +111,7 @@ krb5_get_host_realm(krb5_context context, } else { free (*realms); *realms = NULL; + return KRB5_ERR_HOST_REALM_UNKNOWN; } }