Skip to content

Commit

Permalink
build with LibreSSL
Browse files Browse the repository at this point in the history
could not build with LibreSSL when supporting OpenSSL 1.1.

See also
b4a8025

Bug: <#91>

Signed-off-by: elij <elij@wundrd.net>
Reviewed-by: HAT <hat@fa2.so-net.ne.jp>
Reviewed-by: Ralph Boehme <slow@samba.org>
  • Loading branch information
hat001 authored and slowfranklin committed May 24, 2017
1 parent 0760d6e commit 399c6f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
@@ -1,5 +1,6 @@
Changes in 3.1.12
=================
* FIX: dhx uams: build with LibreSSL, GitHub#91

Changes in 3.1.11
=================
Expand Down
2 changes: 1 addition & 1 deletion etc/uams/openssl_compat.h
Expand Up @@ -11,7 +11,7 @@ The full license text is available at:
#ifndef OPENSSL_COMPAT_H
#define OPENSSL_COMPAT_H

#if OPENSSL_VERSION_NUMBER < 0x10100000L
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
inline static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
{
/* If the fields p and g in d are NULL, the corresponding input
Expand Down

0 comments on commit 399c6f6

Please sign in to comment.