From: | lxs@mit.edu |
Subject: | SVN Commit |
krb5_build_principal_va does not allocate the outer krb5_principal,
making it useless for generating krb5_principals which can be freed
with krb5_free_principal. Added krb5_build_principal_alloc_va which
allocates the krb5_principal.
Added krb5int_build_principal_alloc_va which is used by KIM to avoid
code duplication. KIM's kim_identity_create_from_components takes
the first component as an argument because principals with no
components cannot be represented with the KIM UI. Modified KIM
to use this new API.
Commit By: lxs
Revision: 20918
Changed Files:
U trunk/src/include/k5-int.h
U trunk/src/include/krb5/krb5.hin
U trunk/src/kim/lib/kim_identity.c
U trunk/src/lib/krb5/krb/bld_princ.c
U trunk/src/lib/krb5/libkrb5.exports