Lines Matching refs:maj_stat
79 OM_uint32 message_context, maj_stat, min_stat;
90 maj_stat = gss_display_status(&min_stat, status_code,
93 if (GSS_ERROR(maj_stat))
160 OM_uint32 min_stat, maj_stat;
170 maj_stat = gss_import_name(&min_stat, &name_token,
172 if (GSS_ERROR(maj_stat)) {
174 maj_stat = gss_release_buffer(&min_stat, &name_token);
175 if (GSS_ERROR(maj_stat))
179 maj_stat = gss_release_buffer(&min_stat, &name_token);
180 if (GSS_ERROR(maj_stat))
193 OM_uint32 maj_stat, min_stat;
208 maj_stat = gss_import_name(&min_stat, &id_token, GSS_C_NO_OID,
210 if (GSS_ERROR(maj_stat)) {
218 maj_stat = gss_canonicalize_name(&min_stat, princ, GSS_C_NO_OID,
220 if (GSS_ERROR(maj_stat)) {
222 maj_stat = gss_release_name(&min_stat, &princ);
223 if (GSS_ERROR(maj_stat))
228 maj_stat = gss_release_name(&min_stat, &princ);
229 if (GSS_ERROR(maj_stat))
232 maj_stat = gss_export_name(&min_stat, canon_princ, cred);
233 if (GSS_ERROR(maj_stat)) {
235 maj_stat = gss_release_name(&min_stat, &canon_princ);
236 if (GSS_ERROR(maj_stat))
252 maj_stat = gss_release_buffer(&min_stat, cred);
253 if (GSS_ERROR(maj_stat))
256 maj_stat = gss_acquire_cred(&min_stat, canon_princ, GSS_C_INDEFINITE,
258 if (GSS_ERROR(maj_stat)) {
260 maj_stat = gss_release_name(&min_stat, &canon_princ);
261 if (GSS_ERROR(maj_stat))
267 maj_stat = gss_release_name(&min_stat, &canon_princ);
268 if (GSS_ERROR(maj_stat))
280 OM_uint32 maj_stat, min_stat;
298 maj_stat = gss_import_name(&min_stat, &name_token,
300 if (GSS_ERROR(maj_stat)) {
321 maj_stat = gss_release_name(&min_stat, &partner);
322 if (GSS_ERROR(maj_stat))
326 maj_stat = gss_release_name(&min_stat, &partner);
327 if (GSS_ERROR(maj_stat))
351 OM_uint32 min_stat, maj_stat;
371 maj_stat = gss_display_name(&min_stat, client_name, &name_token, NULL);
372 if (GSS_ERROR(maj_stat)) {
374 maj_stat = gss_release_name(&min_stat, &client_name);
375 if (GSS_ERROR(maj_stat))
380 maj_stat = gss_release_name(&min_stat, &client_name);
381 if (GSS_ERROR(maj_stat))
387 maj_stat = gss_release_buffer(&min_stat, &name_token);
388 if (GSS_ERROR(maj_stat))
520 OM_uint32 maj_stat, min_stat;
543 maj_stat = gss_wrap(&min_stat, gps->gss_context, 1, GSS_C_QOP_DEFAULT,
545 if (GSS_ERROR(maj_stat)) {
547 maj_stat = gss_release_buffer(&min_stat, hash_in);
548 if (GSS_ERROR(maj_stat))
557 maj_stat = gss_release_buffer(&min_stat, hash_in);
558 if (GSS_ERROR(maj_stat))
563 maj_stat = gss_release_buffer(&min_stat, hash_out);
564 if (GSS_ERROR(maj_stat))
569 maj_stat = gss_release_buffer(&min_stat, hash_out);
570 if (GSS_ERROR(maj_stat))
580 OM_uint32 maj_stat, min_stat;
599 maj_stat = gss_unwrap(&min_stat, gps->gss_context, hash_in, hash_out,
601 if (GSS_ERROR(maj_stat)) {
608 maj_stat = gss_release_buffer(&min_stat, hash_out);
609 if (GSS_ERROR(maj_stat))
614 maj_stat = gss_release_buffer(&min_stat, hash_out);
615 if (GSS_ERROR(maj_stat))
665 OM_uint32 maj_stat, min_stat;
675 maj_stat = gss_release_cred(&min_stat, &gps->gss_cred);
676 if (GSS_ERROR(maj_stat))
689 OM_uint32 min_stat, maj_stat;
698 maj_stat = gss_canonicalize_name(&min_stat, defname, GSS_C_NO_OID,
700 if (GSS_ERROR(maj_stat)) {
702 maj_stat = gss_release_name(&min_stat, &defname);
703 if (GSS_ERROR(maj_stat))
708 maj_stat = gss_release_name(&min_stat, &defname);
709 if (GSS_ERROR(maj_stat))
712 maj_stat = gss_export_name(&min_stat, canon_name, id);
713 if (GSS_ERROR(maj_stat)) {
715 maj_stat = gss_release_name(&min_stat, &canon_name);
716 if (GSS_ERROR(maj_stat))
721 maj_stat = gss_release_name(&min_stat, &canon_name);
722 if (GSS_ERROR(maj_stat))
736 maj_stat = gss_release_buffer(&min_stat, id);
737 if (GSS_ERROR(maj_stat))
741 maj_stat = gss_release_buffer(&min_stat, id);
742 if (GSS_ERROR(maj_stat))