Lines Matching defs:gret
144 OM_uint32 gret, minor, lifetime;
151 gret = gss_inquire_cred(&minor, cred, &gname, &lifetime, &usage, NULL);
152 if (gret != GSS_S_COMPLETE) {
154 gss_error_tostring(gret, minor, buf, sizeof(buf)));
158 gret = gss_display_name(&minor, gname, &gbuffer, NULL);
159 if (gret != GSS_S_COMPLETE)
161 gss_error_tostring(gret, minor, buf, sizeof(buf)));
180 if (gret == GSS_S_COMPLETE) {
182 gret = gss_release_buffer(&minor, &gbuffer);
183 if (gret != GSS_S_COMPLETE)
185 gss_error_tostring(gret, minor, buf,
190 gret = gss_release_name(&minor, &gname);
191 if (gret != GSS_S_COMPLETE)
193 gss_error_tostring(gret, minor, buf, sizeof(buf)));
255 OM_uint32 gret, minor;
274 gret = gss_import_name(&minor, &gnamebuf,
276 if (gret != GSS_S_COMPLETE) {
280 gss_error_tostring(gret, minor, buf,
301 gret = gss_acquire_cred(&minor, gname, GSS_C_INDEFINITE,
304 if (gret != GSS_S_COMPLETE) {
308 gss_error_tostring(gret, minor, buf, sizeof(buf)));
324 gret = gss_release_name(&minor, &gname);
325 if (gret != GSS_S_COMPLETE)
327 gss_error_tostring(gret, minor, buf,
510 OM_uint32 gret, minor;
515 gret = gss_release_cred(&minor, cred);
516 if (gret != GSS_S_COMPLETE) {
519 gss_error_tostring(gret, minor, buf, sizeof(buf)));
539 OM_uint32 gret, minor, ret_flags, flags;
553 gret = gss_import_name(&minor, &gnamebuf, GSS_C_NO_OID, &gname);
554 if (gret != GSS_S_COMPLETE) {
574 gret = gss_init_sec_context(&minor, GSS_C_NO_CREDENTIAL, gssctx,
579 if (gret != GSS_S_COMPLETE && gret != GSS_S_CONTINUE_NEEDED) {
581 gss_log(3, "%s", gss_error_tostring(gret, minor,
601 if (gret == GSS_S_COMPLETE)
630 OM_uint32 gret, minor;
647 gret = gss_accept_sec_context(&minor, &context, cred, &gintoken,
653 switch (gret) {
675 gss_error_tostring(gret, minor, buf, sizeof(buf)));
686 if (gret == GSS_S_COMPLETE) {
687 gret = gss_display_name(&minor, gname, &gnamebuf, NULL);
688 if (gret != GSS_S_COMPLETE) {
690 gss_error_tostring(gret, minor,
716 gret = gss_release_buffer(&minor, &gnamebuf);
717 if (gret != GSS_S_COMPLETE)
719 gss_error_tostring(gret, minor, buf,
728 gret = gss_release_name(&minor, &gname);
729 if (gret != GSS_S_COMPLETE)
731 gss_error_tostring(gret, minor, buf,
752 OM_uint32 gret, minor;
760 gret = gss_delete_sec_context(&minor, gssctx, GSS_C_NO_BUFFER);
761 if (gret != GSS_S_COMPLETE) {
764 gss_error_tostring(gret, minor, buf, sizeof(buf)));