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