Lines Matching defs:dh
189 # include <openssl/dh.h>
264 DH *dh;
266 if ((dh = DH_new()) == NULL)
268 dh->p=BN_bin2bn(dh2048_p, sizeof(dh2048_p), NULL);
269 dh->g=BN_bin2bn(dh2048_g, sizeof(dh2048_g), NULL);
270 if (dh->p == NULL || dh->g == NULL) {
271 DH_free(dh);
274 return dh;
1889 DH *dh = NULL;
1892 dh = load_dh_param(dhfile);
1894 dh = load_dh_param(s_cert_file);
1896 if (dh != NULL) {
1900 dh = get_dh2048();
1901 if (dh == NULL) {
1908 SSL_CTX_set_tmp_dh(ctx, dh);
1917 DH_free(dh);
1918 dh = dh2;
1921 SSL_CTX_set_tmp_dh(ctx2, dh);
1924 DH_free(dh);