Searched refs:tmpdata (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | bld_princ.c | 42 char *tmpdata; in krb5_build_principal_va() local 53 tmpdata = malloc(rlen + 1); in krb5_build_principal_va() 54 if (!tmpdata) { in krb5_build_principal_va() 58 krb5_princ_set_realm_data(context, princ, tmpdata); in krb5_build_principal_va() 59 memcpy(tmpdata, realm, rlen); in krb5_build_principal_va() 60 tmpdata[rlen] = '\0'; in krb5_build_principal_va() 77 krb5_xfree(tmpdata); in krb5_build_principal_va()
|
H A D | bld_pr_ext.c | 43 char *tmpdata; in krb5_build_principal_ext() local 68 tmpdata = malloc(rlen+1); in krb5_build_principal_ext() 69 if (!tmpdata) { in krb5_build_principal_ext() 75 krb5_princ_set_realm_data(context, princ_ret, tmpdata); in krb5_build_principal_ext() 76 memcpy(tmpdata, realm, rlen); in krb5_build_principal_ext() 77 tmpdata[rlen] = 0; in krb5_build_principal_ext()
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | parse.c | 88 char *tmpdata; in k5_parse_name() local 256 tmpdata = MALLOC(realmsize + 1); in k5_parse_name() 257 if (tmpdata == 0) { in k5_parse_name() 266 krb5_princ_set_realm_data(context, principal, tmpdata); in k5_parse_name()
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_preauth.c | 1745 krb5_enc_data tmpdata; in return_sam_data() local 1747 tmpdata.enctype = ENCTYPE_UNKNOWN; in return_sam_data() 1748 tmpdata.ciphertext = sr->sam_track_id; in return_sam_data() 1750 scratch.length = tmpdata.ciphertext.length; in return_sam_data() 1757 &tmpdata, &scratch))) { in return_sam_data() 2005 krb5_enc_data tmpdata; in get_sam_edata() local 2012 if ((tmpdata.ciphertext.data = (char *) malloc(enclen)) == NULL) { in get_sam_edata() 2016 tmpdata.ciphertext.length = enclen; in get_sam_edata() 2019 /* XXX */ 0, 0, scratch, &tmpdata))) in get_sam_edata() 2022 sc.sam_track_id = tmpdata.ciphertext; in get_sam_edata() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/ |
H A D | kt_file.c | 1250 char *tmpdata; in krb5_ktfileint_internal_read_entry() local 1326 tmpdata = malloc(u_princ_size+1); in krb5_ktfileint_internal_read_entry() 1327 if (!tmpdata) { in krb5_ktfileint_internal_read_entry() 1331 if (fread(tmpdata, 1, u_princ_size, KTFILEP(id)) != (size_t) princ_size) { in krb5_ktfileint_internal_read_entry() 1332 free(tmpdata); in krb5_ktfileint_internal_read_entry() 1336 tmpdata[princ_size] = 0; /* Some things might be expecting null */ in krb5_ktfileint_internal_read_entry() 1339 krb5_princ_set_realm_data(context, ret_entry->principal, tmpdata); in krb5_ktfileint_internal_read_entry()
|
/illumos-gate/usr/src/cmd/prtfru/ |
H A D | prtfru.c | 1002 uchar_t tmpdata[128]; in print_element() local 1011 (void) memcpy(tmpdata, data, def->payloadLen); in print_element() 1016 print_element(tmpdata, new_def, in print_element()
|