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:
parent
54f287472b
commit
e77355e089
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue