(gss_krb5_set_allowable_enctypes): use the length of the array passed in, stop leaking memory, check for error conditions.
(gss_krb5_set_allowable_enctypes): use the length of the array passed
in, stop leaking memory, check for error conditions.


git-svn-id: 193148810cf65385f3a195dbc9a8b504846da3a2@20322 ec53bebd-3082-4978-b11e-865c3cabbd6b

madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal,madscientist159/heimdal