Home
last modified time | relevance | path

Searched refs:new_ktypes (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dset_allowable_enctypes.c70 krb5_enctype * new_ktypes; in gss_krb5int_set_allowable_enctypes() local
111 if ((new_ktypes = (krb5_enctype *)malloc(sizeof(krb5_enctype) * (i + 1)))) { in gss_krb5int_set_allowable_enctypes()
112 memcpy(new_ktypes, ktypes, sizeof(krb5_enctype) * i); in gss_krb5int_set_allowable_enctypes()
113 new_ktypes[i] = 0; /* "null-terminate" the list */ in gss_krb5int_set_allowable_enctypes()
121 free(new_ktypes); in gss_krb5int_set_allowable_enctypes()
126 cred->req_enctypes = new_ktypes; in gss_krb5int_set_allowable_enctypes()
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dinit_ctx.c587 krb5_enctype * new_ktypes; in krb5_set_default_in_tkt_ktypes() local
597 if ((new_ktypes = (krb5_enctype *)malloc(sizeof(krb5_enctype) * i))) in krb5_set_default_in_tkt_ktypes()
598 (void) memcpy(new_ktypes, ktypes, sizeof(krb5_enctype) * i); in krb5_set_default_in_tkt_ktypes()
604 new_ktypes = 0; in krb5_set_default_in_tkt_ktypes()
609 context->in_tkt_ktypes = new_ktypes; in krb5_set_default_in_tkt_ktypes()
725 krb5_enctype * new_ktypes; in krb5_set_default_tgs_enctypes() local
735 if ((new_ktypes = (krb5_enctype *)malloc(sizeof(krb5_enctype) * i))) in krb5_set_default_tgs_enctypes()
736 (void) memcpy(new_ktypes, ktypes, sizeof(krb5_enctype) * i); in krb5_set_default_tgs_enctypes()
742 new_ktypes = (krb5_enctype *)NULL; in krb5_set_default_tgs_enctypes()
747 context->tgs_ktypes = new_ktypes; in krb5_set_default_tgs_enctypes()