Searched defs:tmpad (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dcopy_addrs.c36 krb5_address *tmpad; local
38 if (!(tmpad = (krb5_address *)malloc(sizeof(*tmpad))))
40 *tmpad = *inad;
41 if (!(tmpad->contents = (krb5_octet *)malloc(inad->length))) {
42 krb5_xfree(tmpad);
45 memcpy((char *)tmpad->contents, (char *)inad->contents, inad->length);
46 *outad = tmpad;
H A Dauth_con.c16 krb5_address *tmpad; local
18 if (!(tmpad = (krb5_address *)malloc(sizeof(*tmpad))))
20 *tmpad = *inad;
21 if (!(tmpad->contents = (krb5_octet *)malloc(inad->length))) {
22 krb5_xfree(tmpad);
26 (void) memcpy((char *)tmpad->contents, (char *)inad->contents, inad->length);
27 *outad = tmpad;
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_auth.c62 krb5_authdata *tmpad; local
64 if (!(tmpad = (krb5_authdata *)malloc(sizeof(*tmpad))))
66 *tmpad = *inad;
67 if (!(tmpad->contents = (krb5_octet *)malloc(inad->length))) {
68 free(tmpad);
71 (void) memcpy((char *)tmpad->contents, (char *)inad->contents, inad->length);
72 *outad = tmpad;

Completed in 59 milliseconds