Lines Matching refs:major

161 	ctx->major = gss_accept_sec_context(&ctx->minor, &ctx->context,  in ssh_gssapi_accept_ctx()
166 if (GSS_ERROR(ctx->major)) in ssh_gssapi_accept_ctx()
169 if (ctx->major == GSS_S_CONTINUE_NEEDED && send_tok->length == 0) in ssh_gssapi_accept_ctx()
172 else if (GSS_ERROR(ctx->major) && send_tok->length == 0) in ssh_gssapi_accept_ctx()
175 if (ctx->major == GSS_S_COMPLETE && in ssh_gssapi_accept_ctx()
195 ctx->major = GSS_S_BAD_MECH; in ssh_gssapi_accept_ctx()
201 if (ctx->major == GSS_S_COMPLETE) { in ssh_gssapi_accept_ctx()
202 ctx->major = gss_inquire_context(&ctx->minor, ctx->context, in ssh_gssapi_accept_ctx()
206 if (GSS_ERROR(ctx->major)) { in ssh_gssapi_accept_ctx()
209 return (ctx->major); in ssh_gssapi_accept_ctx()
215 return (ctx->major); in ssh_gssapi_accept_ctx()
298 ctx->major = gss_store_cred(&ctx->minor, ctx->deleg_creds, in ssh_gssapi_storecreds()
304 ctx->major = gss_store_cred(&ctx->minor, ctx->deleg_creds, in ssh_gssapi_storecreds()
312 if (GSS_ERROR(ctx->major)) in ssh_gssapi_storecreds()
365 ctx->major = __gss_userok(&ctx->minor, ctx->src_name, user, in ssh_gssapi_userok()
367 if (GSS_ERROR(ctx->major)) { in ssh_gssapi_userok()
388 ctx->major = gss_import_name(&ctx->minor, &buf, in ssh_gssapi_userok()
390 if (GSS_ERROR(ctx->major)) { in ssh_gssapi_userok()
396 ctx->major = gss_canonicalize_name(&ctx->minor, iname, in ssh_gssapi_userok()
399 if (GSS_ERROR(ctx->major)) { in ssh_gssapi_userok()
404 ctx->major = gss_export_name(&ctx->minor, cname, &ename1); in ssh_gssapi_userok()
406 if (GSS_ERROR(ctx->major)) { in ssh_gssapi_userok()
411 ctx->major = gss_export_name(&ctx->minor, ctx->src_name, in ssh_gssapi_userok()
413 if (GSS_ERROR(ctx->major)) { in ssh_gssapi_userok()