Lines Matching refs:major
261 *major_status = ctxt->major;
268 gss_display_status(&lmin, ctxt->major,
358 ctx->major = gss_init_sec_context(&ctx->minor,
363 if (GSS_ERROR(ctx->major))
366 return (ctx->major);
380 if ((ctx->major = gss_import_name(&ctx->minor,
385 return (ctx->major);
402 ctx->major = gss_import_name(&ctx->minor, &gssbuf,
405 if (!ctx->major)
406 ctx->major = gss_acquire_cred(&ctx->minor,
413 if (ctx->major)
416 return(ctx->major);
425 if ((ctx->major = gss_get_mic(&ctx->minor, ctx->context,
429 return (ctx->major);
439 ctx->major = gss_verify_mic(&ctx->minor, ctx->context,
442 return (ctx->major);
462 OM_uint32 major, minor;
476 major = ssh_gssapi_import_name(*ctx, host);
478 if (!GSS_ERROR(major) && client)
479 major = ssh_gssapi_client_identity(*ctx, client);
481 if (!GSS_ERROR(major)) {
482 major = ssh_gssapi_init_ctx(*ctx, 0, GSS_C_NO_BUFFER, &token,
490 if (GSS_ERROR(major) || intctx != NULL)
493 return (!GSS_ERROR(major));
503 OM_uint32 lifetime, now, major, minor;
515 major = gss_inquire_cred(&minor, GSS_C_NO_CREDENTIAL,
518 if (!GSS_ERROR(major)) {
535 major = gss_inquire_cred(&minor, GSS_C_NO_CREDENTIAL,
537 if (major == GSS_S_CREDENTIALS_EXPIRED)
539 else if (GSS_ERROR(major))
542 major = gss_compare_name(&minor, saved_name, name, &equal);
544 if (GSS_ERROR(major))