> but got the following errors:
> ssl_engine_init.c:54:12: error: static declaration of 'DH_set0_pqg'
> follows non-static declaration
> static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
> /usr/include/openssl/dh.h:195:5: note: previous declaration is here
> int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
> No errors when doing the same build in OpenBSD 6.2.
We added the DH_set0_pqg(3) in 6.3:
$ man DH_set0_pqg | tail -n 5
These functions first appeared in OpenSSL 1.1.0 and have been available
since OpenBSD 6.3.
OpenBSD 6.3 March 23, 2018 OpenBSD 6.3
> Any ideas what's wrong or is it a bug perhaps?
The Apache build system attempts to compile a replacement
function, even though it is already available in the base
system, causing a conflict.
Consequently, not a bug.
Backport the -current port to -stable, or run -current.