Searched refs:pkdh (Results 1 – 2 of 2) sorted by relevance
2423 EVP_PKEY *pkdh = NULL; in tls_construct_server_key_exchange() local2459 pkdh = ssl_get_auto_dh(s); in tls_construct_server_key_exchange()2460 if (pkdh == NULL) { in tls_construct_server_key_exchange()2464 pkdhp = pkdh; in tls_construct_server_key_exchange()2470 pkdh = ssl_dh_to_pkey(s->cert->dh_tmp_cb(s, 0, 1024)); in tls_construct_server_key_exchange()2471 if (pkdh == NULL) { in tls_construct_server_key_exchange()2475 pkdhp = pkdh; in tls_construct_server_key_exchange()2498 EVP_PKEY_free(pkdh); in tls_construct_server_key_exchange()2499 pkdh = NULL; in tls_construct_server_key_exchange()2716 EVP_PKEY_free(pkdh); in tls_construct_server_key_exchange()
3441 EVP_PKEY *pkdh = NULL; in ssl3_ctrl() local3446 pkdh = ssl_dh_to_pkey(parg); in ssl3_ctrl()3447 if (pkdh == NULL) { in ssl3_ctrl()3451 if (!SSL_set0_tmp_dh_pkey(s, pkdh)) { in ssl3_ctrl()3452 EVP_PKEY_free(pkdh); in ssl3_ctrl()3774 EVP_PKEY *pkdh = NULL; in ssl3_ctx_ctrl() local3779 pkdh = ssl_dh_to_pkey(parg); in ssl3_ctx_ctrl()3780 if (pkdh == NULL) { in ssl3_ctx_ctrl()3784 if (!SSL_CTX_set0_tmp_dh_pkey(ctx, pkdh)) { in ssl3_ctx_ctrl()3785 EVP_PKEY_free(pkdh); in ssl3_ctx_ctrl()