Return error if no realm was found.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2401 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -111,6 +111,7 @@ krb5_get_host_realm(krb5_context context,
|
||||
} else {
|
||||
free (*realms);
|
||||
*realms = NULL;
|
||||
return KRB5_ERR_HOST_REALM_UNKNOWN;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user