(krb5_init_etype): etypes are now `int'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5367 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-02-15 21:04:46 +00:00
parent 03cc0239a0
commit ef4e99052c

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 1998 Kungliga Tekniska H<>gskolan
* Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved.
*
@@ -43,7 +43,7 @@ RCSID("$Id$");
krb5_error_code
krb5_init_etype (krb5_context context,
unsigned *len,
unsigned **val,
int **val,
const krb5_enctype *etypes)
{
int i;
@@ -63,7 +63,7 @@ krb5_init_etype (krb5_context context,
for (i = 0; tmp[i]; ++i)
;
*len = i;
*val = malloc(i * sizeof(unsigned));
*val = malloc(i * sizeof(int));
if (*val == NULL) {
ret = ENOMEM;
goto cleanup;