• Home
  • Raw
  • Download

Lines Matching refs:parg

3390 long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg)  in ssl3_ctrl()  argument
3413 DH *dh = (DH *)parg; in ssl3_ctrl()
3450 if (parg == NULL) { in ssl3_ctrl()
3454 group = EC_KEY_get0_group((const EC_KEY *)parg); in ssl3_ctrl()
3485 if (parg == NULL) in ssl3_ctrl()
3487 len = strlen((char *)parg); in ssl3_ctrl()
3492 if ((s->ext.hostname = OPENSSL_strdup((char *)parg)) == NULL) { in ssl3_ctrl()
3502 s->ext.debug_arg = parg; in ssl3_ctrl()
3516 *(STACK_OF(X509_EXTENSION) **)parg = s->ext.ocsp.exts; in ssl3_ctrl()
3521 s->ext.ocsp.exts = parg; in ssl3_ctrl()
3526 *(STACK_OF(OCSP_RESPID) **)parg = s->ext.ocsp.ids; in ssl3_ctrl()
3531 s->ext.ocsp.ids = parg; in ssl3_ctrl()
3536 *(unsigned char **)parg = s->ext.ocsp.resp; in ssl3_ctrl()
3544 s->ext.ocsp.resp = parg; in ssl3_ctrl()
3558 return ssl_cert_set1_chain(s, NULL, (STACK_OF(X509) *)parg); in ssl3_ctrl()
3560 return ssl_cert_set0_chain(s, NULL, (STACK_OF(X509) *)parg); in ssl3_ctrl()
3564 return ssl_cert_add1_chain_cert(s, NULL, (X509 *)parg); in ssl3_ctrl()
3566 return ssl_cert_add0_chain_cert(s, NULL, (X509 *)parg); in ssl3_ctrl()
3569 *(STACK_OF(X509) **)parg = s->cert->key->chain; in ssl3_ctrl()
3574 return ssl_cert_select_current(s->cert, (X509 *)parg); in ssl3_ctrl()
3607 if (parg) { in ssl3_ctrl()
3609 int *cptr = parg; in ssl3_ctrl()
3625 &s->ext.supportedgroups_len, parg, larg); in ssl3_ctrl()
3629 &s->ext.supportedgroups_len, parg); in ssl3_ctrl()
3644 return tls1_set_sigalgs(s->cert, parg, larg, 0); in ssl3_ctrl()
3647 return tls1_set_sigalgs_list(s->cert, parg, 0); in ssl3_ctrl()
3650 return tls1_set_sigalgs(s->cert, parg, larg, 1); in ssl3_ctrl()
3653 return tls1_set_sigalgs_list(s->cert, parg, 1); in ssl3_ctrl()
3657 const unsigned char **pctype = parg; in ssl3_ctrl()
3668 return ssl3_set_req_cert_type(s->cert, parg, larg); in ssl3_ctrl()
3674 return ssl_cert_set_cert_store(s->cert, parg, 0, larg); in ssl3_ctrl()
3677 return ssl_cert_set_cert_store(s->cert, parg, 1, larg); in ssl3_ctrl()
3682 *(int *)parg = s->s3->tmp.peer_sigalg->hash; in ssl3_ctrl()
3688 *(int *)parg = s->s3->tmp.sigalg->hash; in ssl3_ctrl()
3697 *(EVP_PKEY **)parg = s->s3->peer_tmp; in ssl3_ctrl()
3710 *(EVP_PKEY **)parg = s->s3->tmp.pkey; in ssl3_ctrl()
3720 const unsigned char **pformat = parg; in ssl3_ctrl()
3763 long ssl3_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg) in ssl3_ctx_ctrl() argument
3769 DH *dh = (DH *)parg; in ssl3_ctx_ctrl()
3805 if (parg == NULL) { in ssl3_ctx_ctrl()
3809 group = EC_KEY_get0_group((const EC_KEY *)parg); in ssl3_ctx_ctrl()
3823 ctx->ext.servername_arg = parg; in ssl3_ctx_ctrl()
3828 unsigned char *keys = parg; in ssl3_ctx_ctrl()
3870 ctx->ext.status_arg = parg; in ssl3_ctx_ctrl()
3874 *(void**)parg = ctx->ext.status_arg; in ssl3_ctx_ctrl()
3878 *(int (**)(SSL*, void*))parg = ctx->ext.status_cb; in ssl3_ctx_ctrl()
3886 if (parg == NULL) in ssl3_ctx_ctrl()
3888 if (strlen((const char *)parg) > 255 || strlen((const char *)parg) < 1) { in ssl3_ctx_ctrl()
3892 if ((ctx->srp_ctx.login = OPENSSL_strdup((char *)parg)) == NULL) { in ssl3_ctx_ctrl()
3902 if ((ctx->srp_ctx.info = BUF_strdup((char *)parg)) == NULL) { in ssl3_ctx_ctrl()
3909 ctx->srp_ctx.SRP_cb_arg = parg; in ssl3_ctx_ctrl()
3921 parg, larg); in ssl3_ctx_ctrl()
3926 parg); in ssl3_ctx_ctrl()
3929 return tls1_set_sigalgs(ctx->cert, parg, larg, 0); in ssl3_ctx_ctrl()
3932 return tls1_set_sigalgs_list(ctx->cert, parg, 0); in ssl3_ctx_ctrl()
3935 return tls1_set_sigalgs(ctx->cert, parg, larg, 1); in ssl3_ctx_ctrl()
3938 return tls1_set_sigalgs_list(ctx->cert, parg, 1); in ssl3_ctx_ctrl()
3941 return ssl3_set_req_cert_type(ctx->cert, parg, larg); in ssl3_ctx_ctrl()
3947 return ssl_cert_set_cert_store(ctx->cert, parg, 0, larg); in ssl3_ctx_ctrl()
3950 return ssl_cert_set_cert_store(ctx->cert, parg, 1, larg); in ssl3_ctx_ctrl()
3960 if (!sk_X509_push(ctx->extra_certs, (X509 *)parg)) { in ssl3_ctx_ctrl()
3968 *(STACK_OF(X509) **)parg = ctx->cert->key->chain; in ssl3_ctx_ctrl()
3970 *(STACK_OF(X509) **)parg = ctx->extra_certs; in ssl3_ctx_ctrl()
3980 return ssl_cert_set1_chain(NULL, ctx, (STACK_OF(X509) *)parg); in ssl3_ctx_ctrl()
3982 return ssl_cert_set0_chain(NULL, ctx, (STACK_OF(X509) *)parg); in ssl3_ctx_ctrl()
3986 return ssl_cert_add1_chain_cert(NULL, ctx, (X509 *)parg); in ssl3_ctx_ctrl()
3988 return ssl_cert_add0_chain_cert(NULL, ctx, (X509 *)parg); in ssl3_ctx_ctrl()
3991 *(STACK_OF(X509) **)parg = ctx->cert->key->chain; in ssl3_ctx_ctrl()
3995 return ssl_cert_select_current(ctx->cert, (X509 *)parg); in ssl3_ctx_ctrl()