more type correctness

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5212 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1998-11-21 22:15:56 +00:00
parent 769592f397
commit dca2c83b6a
2 changed files with 4 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ krb5_init_context(krb5_context *context)
if(krb5_string_to_etype(p, etypes[j], &p->etypes[k]) == 0)
k++;
}
p->etypes[k] = 0;
p->etypes[k] = ETYPE_NULL;
krb5_config_free_strings(etypes);
}
}
@@ -156,7 +156,7 @@ default_etypes(krb5_enctype **etype)
ETYPE_DES_CBC_MD5,
ETYPE_DES_CBC_MD4,
ETYPE_DES_CBC_CRC,
0
ETYPE_NULL
};
*etype = malloc(sizeof(p));
if(*etype == NULL)