Searched refs:new_ktypes (Results 1 – 2 of 2) sorted by relevance
70 krb5_enctype * new_ktypes; in gss_krb5int_set_allowable_enctypes() local111 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()
587 krb5_enctype * new_ktypes; in krb5_set_default_in_tkt_ktypes() local597 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() local735 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()