• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/Heimdal-398.1.2/lib/gssapi/

Lines Matching defs:mech

183     gss_const_OID mech = NULL;
193 * mech
203 mech = gss_name_to_oid(opt->mech_string);
204 if (mech == NULL)
205 errx(1, "No such mech: %s", opt->mech_string);
207 mech = GSS_KRB5_MECHANISM;
274 mech,
371 const char *mech;
386 mech = gss_oid_to_name(oid);
390 mech ? mech : "<unknown-mech>",
421 gss_const_OID mech = NULL;
424 mech = gss_name_to_oid(opt->mech_string);
425 if (mech == NULL)
426 errx(1, "No such mech: %s", opt->mech_string);
431 gss_iter_creds_f(NULL, 0, mech, NULL, diag_cred);
445 gss_iter_creds_f(NULL, 0, mech, &pc, print_cred);
455 acquire_cred(const char *name_string, gss_const_OID mech, gss_const_OID nametype)
470 if (mech) {
472 gss_add_oid_set_member(&min_stat, mech, &mechset);
495 gss_const_OID mech = NULL;
498 mech = gss_name_to_oid(opt->mech_string);
499 if (mech == NULL)
500 errx(1, "No such mech: %s", opt->mech_string);
504 gss_iter_creds_f(NULL, 0, mech, NULL, destroy_cred);
513 cred = acquire_cred(argv[0], mech, GSS_C_NT_USER_NAME);
531 gss_const_OID mech = GSS_C_NO_OID;
540 mech = gss_name_to_oid(mech_string);
541 if (mech == NULL)
542 errx(1, "No such mech: %s", mech_string);
545 cred = acquire_cred(argv[0], mech, GSS_C_NT_USER_NAME);
572 gss_const_OID mech = GSS_C_NO_OID;
577 mech = gss_name_to_oid(opt->mech_string);
578 if (mech == NULL)
579 errx(1, "No such mech: %s", opt->mech_string);
582 cred = acquire_cred(argv[0], mech, GSS_C_NT_USER_NAME);
600 gss_const_OID mech = GSS_C_NO_OID;
606 mech = gss_name_to_oid(opt->mech_string);
607 if (mech == NULL)
608 errx(1, "No such mech: %s", opt->mech_string);
611 cred = acquire_cred(argv[0], mech, GSS_C_NT_USER_NAME);
633 print_mech_attr(const char *mechname, gss_const_OID mech, gss_OID_set set)
647 if (mech)
659 if (mech) {
662 if (gss_mo_get(mech, &set->elements[n], &value) != 0)
686 gss_const_OID mech = GSS_C_NO_OID;
690 mech = gss_name_to_oid(opt->mech_string);
691 if (mech == NULL)
692 errx(1, "mech %s is unknown", opt->mech_string);
696 mech,
702 if (mech)
703 print_mech_attr(opt->mech_string, mech, mech_attr);
718 gss_const_OID mech = GSS_C_NO_OID;
724 mech = gss_name_to_oid(opt->mech_string);
725 if (mech == NULL)
726 errx(1, "mech %s is unknown", opt->mech_string);
745 (gss_OID)mech,