Lines Matching defs:dh
137 #include <openssl/dh.h>
648 * I hope that tmp.dh is the only thing that may need to be cleared
651 if (s->s3->tmp.dh != NULL)
653 DH_free(s->s3->tmp.dh);
654 s->s3->tmp.dh = NULL;
1142 DH *dh=NULL,*dhp;
1217 if (s->s3->tmp.dh != NULL)
1219 DH_free(dh);
1224 if ((dh=DHparams_dup(dhp)) == NULL)
1230 s->s3->tmp.dh=dh;
1235 if(!DH_generate_key(dh))
1244 dh->pub_key=BN_dup(dhp->pub_key);
1245 dh->priv_key=BN_dup(dhp->priv_key);
1246 if ((dh->pub_key == NULL) ||
1247 (dh->priv_key == NULL))
1253 r[0]=dh->p;
1254 r[1]=dh->g;
1255 r[2]=dh->pub_key;
1814 if (s->s3->tmp.dh == NULL)
1821 dh_srvr=s->s3->tmp.dh;
1839 DH_free(s->s3->tmp.dh);
1840 s->s3->tmp.dh=NULL;