mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-08 08:07:10 +02:00
BUG/MEDIUM: build without openssl broken
The commit 872f9c213
("MEDIUM: ssl: add basic support for OpenSSL crypto
engine") broke the build without openssl support.
The ssl_free_dh() function is not defined when USE_OPENSSL is not
defined and leads to a compilation failure.
This commit is contained in:
parent
04919d53c5
commit
cf4e496c9c
@ -2575,7 +2575,7 @@ int main(int argc, char **argv)
|
|||||||
protocol_unbind_all();
|
protocol_unbind_all();
|
||||||
mworker_wait();
|
mworker_wait();
|
||||||
}
|
}
|
||||||
#ifndef OPENSSL_NO_DH
|
#if defined(USE_OPENSSL) && !defined(OPENSSL_NO_DH)
|
||||||
ssl_free_dh();
|
ssl_free_dh();
|
||||||
#endif
|
#endif
|
||||||
/* should never get there */
|
/* should never get there */
|
||||||
|
Loading…
Reference in New Issue
Block a user