mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-05 19:52:14 +00:00
BUILD: fix build error without SSL (ssl_cert)
One last-minute optimization broke the build without SSL support. Move ssl_cert out of the #ifdef/#endif and it's OK.
This commit is contained in:
parent
d50265aa0e
commit
ff9f7698fc
@ -130,8 +130,8 @@ struct listener {
|
||||
char *interface; /* interface name or NULL */
|
||||
int maxseg; /* for TCP, advertised MSS */
|
||||
|
||||
#ifdef USE_OPENSSL
|
||||
char *ssl_cert; /* ssl certificate */
|
||||
#ifdef USE_OPENSSL
|
||||
struct {
|
||||
SSL_CTX *ctx;
|
||||
char *ciphers; /* cipher suite to use if non-null */
|
||||
|
@ -996,9 +996,7 @@ void deinit(void)
|
||||
l_next = l->next;
|
||||
unbind_listener(l);
|
||||
delete_listener(l);
|
||||
#ifdef USE_OPENSSL
|
||||
free(l->ssl_cert);
|
||||
#endif
|
||||
free(l->name);
|
||||
free(l->counters);
|
||||
free(l);
|
||||
|
Loading…
Reference in New Issue
Block a user