xref: /titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/vic_opt.c (revision 505d05c73a6e56769f263d4803b22eddd168ee24)
1 #pragma ident	"%Z%%M%	%I%	%E% SMI"
2 #include <k5-int.h>
3 
4 void KRB5_CALLCONV
krb5_verify_init_creds_opt_init(krb5_verify_init_creds_opt * opt)5 krb5_verify_init_creds_opt_init(krb5_verify_init_creds_opt *opt)
6 {
7    opt->flags = 0;
8 }
9 
10 void KRB5_CALLCONV
krb5_verify_init_creds_opt_set_ap_req_nofail(krb5_verify_init_creds_opt * opt,int ap_req_nofail)11 krb5_verify_init_creds_opt_set_ap_req_nofail(krb5_verify_init_creds_opt *opt, int ap_req_nofail)
12 {
13    opt->flags |= KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL;
14    opt->ap_req_nofail = ap_req_nofail;
15 }
16