xref: /illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/vic_opt.c (revision 1da57d551424de5a9d469760be7c4b4d4f10a755)
17c478bd9Sstevel@tonic-gate #include <k5-int.h>
27c478bd9Sstevel@tonic-gate 
3*505d05c7Sgtb void KRB5_CALLCONV
krb5_verify_init_creds_opt_init(krb5_verify_init_creds_opt * opt)4*505d05c7Sgtb krb5_verify_init_creds_opt_init(krb5_verify_init_creds_opt *opt)
57c478bd9Sstevel@tonic-gate {
67c478bd9Sstevel@tonic-gate    opt->flags = 0;
77c478bd9Sstevel@tonic-gate }
87c478bd9Sstevel@tonic-gate 
9*505d05c7Sgtb void KRB5_CALLCONV
krb5_verify_init_creds_opt_set_ap_req_nofail(krb5_verify_init_creds_opt * opt,int ap_req_nofail)10*505d05c7Sgtb krb5_verify_init_creds_opt_set_ap_req_nofail(krb5_verify_init_creds_opt *opt, int ap_req_nofail)
117c478bd9Sstevel@tonic-gate {
127c478bd9Sstevel@tonic-gate    opt->flags |= KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL;
137c478bd9Sstevel@tonic-gate    opt->ap_req_nofail = ap_req_nofail;
147c478bd9Sstevel@tonic-gate }
15