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:
Assar Westerlund
1998-08-16 15:23:45 +00:00
parent a56394cd44
commit d1b42ba459

View File

@@ -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;