Home
last modified time | relevance | path

Searched refs:tmpad (Results 1 – 3 of 3) sorted by relevance

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