1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

LibreSSL fix (#1285)

This commit is contained in:
Florian Maunier 2017-05-12 21:16:23 +02:00 committed by Nate Berkopec
parent 54f287472b
commit e77355e089

View file

@ -88,7 +88,7 @@ DH *get_dh1024() {
DH *dh;
dh = DH_new();
#if OPENSSL_VERSION_NUMBER < 0x10100005L
#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER)
dh->p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), NULL);
dh->g = BN_bin2bn(dh1024_g, sizeof(dh1024_g), NULL);