moved up no realm fix from new-crypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5120 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -46,6 +46,9 @@ krb5_get_default_realm(krb5_context context,
|
||||
{
|
||||
char *res;
|
||||
|
||||
if (context->default_realm == NULL)
|
||||
return KRB5_CONFIG_NODEFREALM;
|
||||
|
||||
res = strdup (context->default_realm);
|
||||
if (res == NULL)
|
||||
return ENOMEM;
|
||||
|
Reference in New Issue
Block a user