Searched refs:pkdh (Results 1 – 2 of 2) sorted by relevance
2422 EVP_PKEY *pkdh = NULL; in tls_construct_server_key_exchange() local2458 pkdh = ssl_get_auto_dh(s); in tls_construct_server_key_exchange()2459 if (pkdh == NULL) { in tls_construct_server_key_exchange()2463 pkdhp = pkdh; in tls_construct_server_key_exchange()2469 pkdh = ssl_dh_to_pkey(s->cert->dh_tmp_cb(s, 0, 1024)); in tls_construct_server_key_exchange()2470 if (pkdh == NULL) { in tls_construct_server_key_exchange()2474 pkdhp = pkdh; in tls_construct_server_key_exchange()2497 EVP_PKEY_free(pkdh); in tls_construct_server_key_exchange()2498 pkdh = NULL; in tls_construct_server_key_exchange()2715 EVP_PKEY_free(pkdh); in tls_construct_server_key_exchange()
3445 EVP_PKEY *pkdh = NULL; in ssl3_ctrl() local3450 pkdh = ssl_dh_to_pkey(parg); in ssl3_ctrl()3451 if (pkdh == NULL) { in ssl3_ctrl()3455 if (!SSL_set0_tmp_dh_pkey(s, pkdh)) { in ssl3_ctrl()3456 EVP_PKEY_free(pkdh); in ssl3_ctrl()3778 EVP_PKEY *pkdh = NULL; in ssl3_ctx_ctrl() local3783 pkdh = ssl_dh_to_pkey(parg); in ssl3_ctx_ctrl()3784 if (pkdh == NULL) { in ssl3_ctx_ctrl()3788 if (!SSL_CTX_set0_tmp_dh_pkey(ctx, pkdh)) { in ssl3_ctx_ctrl()3789 EVP_PKEY_free(pkdh); in ssl3_ctx_ctrl()