Lines Matching refs:larg
3502 long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg) in ssl3_ctrl() argument
3553 sc->cert->dh_tmp_auto = larg; in ssl3_ctrl()
3576 if (larg == TLSEXT_NAMETYPE_host_name) { in ssl3_ctrl()
3609 sc->ext.status_type = larg; in ssl3_ctrl()
3643 sc->ext.ocsp.resp_len = larg; in ssl3_ctrl()
3648 if (larg) in ssl3_ctrl()
3654 if (larg) in ssl3_ctrl()
3668 if (larg == SSL_CERT_SET_SERVER) { in ssl3_ctrl()
3686 return ssl_cert_set_current(sc->cert, larg); in ssl3_ctrl()
3716 &sc->ext.supportedgroups_len, parg, larg); in ssl3_ctrl()
3724 uint16_t id = tls1_shared_group(sc, larg); in ssl3_ctrl()
3726 if (larg != -1) in ssl3_ctrl()
3742 return tls1_set_sigalgs(sc->cert, parg, larg, 0); in ssl3_ctrl()
3748 return tls1_set_sigalgs(sc->cert, parg, larg, 1); in ssl3_ctrl()
3766 return ssl3_set_req_cert_type(sc->cert, parg, larg); in ssl3_ctrl()
3769 return ssl_build_cert_chain(sc, NULL, larg); in ssl3_ctrl()
3772 return ssl_cert_set_cert_store(sc->cert, parg, 0, larg); in ssl3_ctrl()
3775 return ssl_cert_set_cert_store(sc->cert, parg, 1, larg); in ssl3_ctrl()
3876 long ssl3_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg) in ssl3_ctx_ctrl() argument
3905 ctx->cert->dh_tmp_auto = larg; in ssl3_ctx_ctrl()
3931 if (larg != tick_keylen) { in ssl3_ctx_ctrl()
3963 ctx->ext.status_type = larg; in ssl3_ctx_ctrl()
4010 ctx->srp_ctx.strength = larg; in ssl3_ctx_ctrl()
4017 parg, larg); in ssl3_ctx_ctrl()
4025 return tls1_set_sigalgs(ctx->cert, parg, larg, 0); in ssl3_ctx_ctrl()
4031 return tls1_set_sigalgs(ctx->cert, parg, larg, 1); in ssl3_ctx_ctrl()
4037 return ssl3_set_req_cert_type(ctx->cert, parg, larg); in ssl3_ctx_ctrl()
4040 return ssl_build_cert_chain(NULL, ctx, larg); in ssl3_ctx_ctrl()
4043 return ssl_cert_set_cert_store(ctx->cert, parg, 0, larg); in ssl3_ctx_ctrl()
4046 return ssl_cert_set_cert_store(ctx->cert, parg, 1, larg); in ssl3_ctx_ctrl()
4069 if (ctx->extra_certs == NULL && larg == 0) in ssl3_ctx_ctrl()
4081 if (larg) in ssl3_ctx_ctrl()
4087 if (larg) in ssl3_ctx_ctrl()
4100 return ssl_cert_set_current(ctx->cert, larg); in ssl3_ctx_ctrl()