Lines Matching refs:opts

232 	&& reqctx->opts->win2k_require_cksum) || (longhorn == 1)) {
235 && reqctx->opts->win2k_require_cksum)) {
288 int protocol = reqctx->opts->dh_or_rsa;
348 reqctx->cryptoctx, reqctx->idctx, reqctx->opts->dh_size,
660 if (reqctx->opts->require_eku == 0) {
669 reqctx->opts->accept_secondary_eku,
734 reqctx->opts->require_crl_checking,
747 reqctx->opts->require_crl_checking,
945 reqctx->opts->win2k_target,
946 &reqctx->opts->win2k_target);
949 reqctx->opts->win2k_require_cksum,
950 &reqctx->opts->win2k_require_cksum);
953 reqctx->opts->require_crl_checking,
954 &reqctx->opts->require_crl_checking);
957 reqctx->opts->dh_size,
958 &reqctx->opts->dh_size);
959 if (reqctx->opts->dh_size != 1024 && reqctx->opts->dh_size != 2048
960 && reqctx->opts->dh_size != 4096) {
963 reqctx->opts->dh_size, PKINIT_DEFAULT_DH_MIN_BITS);
964 reqctx->opts->dh_size = PKINIT_DEFAULT_DH_MIN_BITS;
971 reqctx->opts->require_eku = 1;
972 reqctx->opts->accept_secondary_eku = 0;
974 reqctx->opts->require_eku = 1;
975 reqctx->opts->accept_secondary_eku = 1;
977 reqctx->opts->require_eku = 0;
978 reqctx->opts->accept_secondary_eku = 0;
1190 &reqctx->opts->dh_size);
1255 reqctx->opts = NULL;
1259 retval = pkinit_init_req_opts(&reqctx->opts);
1263 reqctx->opts->require_eku = plgctx->opts->require_eku;
1264 reqctx->opts->accept_secondary_eku = plgctx->opts->accept_secondary_eku;
1265 reqctx->opts->dh_or_rsa = plgctx->opts->dh_or_rsa;
1266 reqctx->opts->allow_upn = plgctx->opts->allow_upn;
1267 reqctx->opts->require_crl_checking = plgctx->opts->require_crl_checking;
1290 if (reqctx->opts != NULL)
1291 pkinit_fini_req_opts(reqctx->opts);
1317 if (reqctx->opts != NULL)
1318 pkinit_fini_req_opts(reqctx->opts);
1358 ctx->opts = NULL;
1366 retval = pkinit_init_plg_opts(&ctx->opts);
1407 pkinit_fini_plg_opts(ctx->opts);
1477 plgctx->opts->dh_or_rsa = RSA_PROTOCOL;