Changed ALLOC macro.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2440 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-07-18 22:31:49 +00:00
parent 79dbf8b1ac
commit 4003718332
4 changed files with 9 additions and 9 deletions

View File

@@ -46,11 +46,11 @@ krb5_auth_con_init(krb5_context context,
{
krb5_auth_context p;
p = ALLOC(1, krb5_auth_context_data);;
ALLOC(p, 1);
if(!p)
return ENOMEM;
memset(p, 0, sizeof(*p));
p->authenticator = ALLOC(1, krb5_authenticator_data);
ALLOC(p->authenticator, 1);
if (!p->authenticator)
return ENOMEM;
p->flags = KRB5_AUTH_CONTEXT_DO_TIME;