Searched refs:dhp (Results 1 – 2 of 2) sorted by relevance
782 DH *dh=NULL,*dhp; in dtls1_send_server_key_exchange() local838 dhp=cert->dh_tmp; in dtls1_send_server_key_exchange()839 if ((dhp == NULL) && (s->cert->dh_tmp_cb != NULL)) in dtls1_send_server_key_exchange()840 dhp=s->cert->dh_tmp_cb(s, in dtls1_send_server_key_exchange()843 if (dhp == NULL) in dtls1_send_server_key_exchange()857 if ((dh=DHparams_dup(dhp)) == NULL) in dtls1_send_server_key_exchange()864 if ((dhp->pub_key == NULL || in dtls1_send_server_key_exchange()865 dhp->priv_key == NULL || in dtls1_send_server_key_exchange()877 dh->pub_key=BN_dup(dhp->pub_key); in dtls1_send_server_key_exchange()878 dh->priv_key=BN_dup(dhp->priv_key); in dtls1_send_server_key_exchange()
1219 DH *dh=NULL,*dhp; in ssl3_send_server_key_exchange() local1282 dhp=cert->dh_tmp; in ssl3_send_server_key_exchange()1283 if ((dhp == NULL) && (s->cert->dh_tmp_cb != NULL)) in ssl3_send_server_key_exchange()1284 dhp=s->cert->dh_tmp_cb(s, in ssl3_send_server_key_exchange()1287 if (dhp == NULL) in ssl3_send_server_key_exchange()1301 if ((dh=DHparams_dup(dhp)) == NULL) in ssl3_send_server_key_exchange()1308 if ((dhp->pub_key == NULL || in ssl3_send_server_key_exchange()1309 dhp->priv_key == NULL || in ssl3_send_server_key_exchange()1321 dh->pub_key=BN_dup(dhp->pub_key); in ssl3_send_server_key_exchange()1322 dh->priv_key=BN_dup(dhp->priv_key); in ssl3_send_server_key_exchange()