svn rev #20918: trunk/src/ include/ include/krb5/ kim/lib/ lib/krb5/ lib/krb5/krb/

lxs@MIT.EDU lxs at MIT.EDU
Fri Oct 24 15:46:41 EDT 2008


Commit By: lxs
Log Message: 
ticket: new
subject: krb5_build_principal_va does not allocate krb5_principal

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.



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



More information about the cvs-krb5 mailing list