Lines Matching defs:dh
157 #include <openssl/dh.h>
221 DH *dh=NULL;
223 if ((dh=DH_new()) == NULL) return(NULL);
224 dh->p=BN_bin2bn(dh512_p,sizeof(dh512_p),NULL);
225 dh->g=BN_bin2bn(dh512_g,sizeof(dh512_g),NULL);
226 if ((dh->p == NULL) || (dh->g == NULL))
228 return(dh);
973 DH *dh=NULL;
976 dh = load_dh_param(dhfile);
978 dh = load_dh_param(s_cert_file);
980 if (dh != NULL)
987 dh=get_dh512();
991 SSL_CTX_set_tmp_dh(ctx,dh);
992 DH_free(dh);