Home
last modified time | relevance | path

Searched refs:new_cred (Results 1 – 5 of 5) sorted by relevance

/freebsd/crypto/heimdal/lib/gssapi/mech/
H A Dgss_add_cred_with_password.c48 struct _gss_cred *new_cred; in gss_add_cred_with_password() local
68 new_cred = calloc(1, sizeof(struct _gss_cred)); in gss_add_cred_with_password()
69 if (new_cred == NULL) { in gss_add_cred_with_password()
73 HEIM_SLIST_INIT(&new_cred->gc_mc); in gss_add_cred_with_password()
87 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password()
104 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password()
121 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password()
125 HEIM_SLIST_INSERT_HEAD(&new_cred->gc_mc, mc, gmc_link); in gss_add_cred_with_password()
131 (gss_cred_id_t)new_cred, in gss_add_cred_with_password()
137 gss_release_cred(&junk, (gss_cred_id_t *)&new_cred); in gss_add_cred_with_password()
[all …]
H A Dgss_acquire_cred_with_password.c61 struct _gss_cred *new_cred; in gss_acquire_cred_with_password() local
63 new_cred = calloc(1, sizeof(*new_cred)); in gss_acquire_cred_with_password()
64 if (new_cred == NULL) { in gss_acquire_cred_with_password()
68 HEIM_SLIST_INIT(&new_cred->gc_mc); in gss_acquire_cred_with_password()
88 HEIM_SLIST_INSERT_HEAD(&new_cred->gc_mc, mc, gmc_link); in gss_acquire_cred_with_password()
94 if (!HEIM_SLIST_FIRST(&new_cred->gc_mc)) { in gss_acquire_cred_with_password()
95 free(new_cred); in gss_acquire_cred_with_password()
100 *output_cred_handle = (gss_cred_id_t)new_cred; in gss_acquire_cred_with_password()
H A Dgss_add_cred.c89 struct _gss_cred *new_cred; in gss_add_cred() local
104 new_cred = malloc(sizeof(struct _gss_cred)); in gss_add_cred()
105 if (!new_cred) { in gss_add_cred()
109 HEIM_SLIST_INIT(&new_cred->gc_mc); in gss_add_cred()
125 release_cred = (gss_cred_id_t)new_cred; in gss_add_cred()
130 HEIM_SLIST_INSERT_HEAD(&new_cred->gc_mc, copy_mc, gmc_link); in gss_add_cred()
143 free(new_cred); in gss_add_cred()
154 release_cred = (gss_cred_id_t)new_cred; in gss_add_cred()
176 release_cred = (gss_cred_id_t)new_cred; in gss_add_cred()
181 HEIM_SLIST_INSERT_HEAD(&new_cred->gc_mc, mc, gmc_link); in gss_add_cred()
[all …]
/freebsd/lib/libgssapi/
H A Dgss_add_cred.c96 struct _gss_cred *new_cred; in gss_add_cred() local
111 new_cred = malloc(sizeof(struct _gss_cred)); in gss_add_cred()
112 if (!new_cred) { in gss_add_cred()
116 SLIST_INIT(&new_cred->gc_mc); in gss_add_cred()
132 release_cred = (gss_cred_id_t) new_cred; in gss_add_cred()
137 SLIST_INSERT_HEAD(&new_cred->gc_mc, copy_mc, gmc_link); in gss_add_cred()
150 free(new_cred); in gss_add_cred()
161 release_cred = (gss_cred_id_t) new_cred; in gss_add_cred()
183 release_cred = (gss_cred_id_t) new_cred; in gss_add_cred()
188 SLIST_INSERT_HEAD(&new_cred->gc_mc, mc, gmc_link); in gss_add_cred()
[all …]
/freebsd/include/rpc/
H A Dauth_unix.h78 struct opaque_auth new_cred; member