projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e9556b
)
CLEANUP: ssl: avoid circular dependencies in ssl_crtlist.h
author
William Lallemand
<wlallemand@haproxy.com>
Wed, 13 May 2020 06:24:41 +0000
(08:24 +0200)
committer
William Lallemand
<wlallemand@haproxy.org>
Fri, 15 May 2020 12:11:54 +0000
(14:11 +0200)
Add forward declarations in types/ssl_crtlist.h in order to avoid
circular dependencies. Also remove the listener.h include which is not
needed anymore.
include/types/ssl_crtlist.h
patch
|
blob
|
history
diff --git
a/include/types/ssl_crtlist.h
b/include/types/ssl_crtlist.h
index
bcece4e
..
095a127
100644
(file)
--- a/
include/types/ssl_crtlist.h
+++ b/
include/types/ssl_crtlist.h
@@
-23,9
+23,14
@@
#define _TYPES_SSL_CRTLIST_H
#ifdef USE_OPENSSL
+#include <ebmbtree.h>
+
#include <common/mini-clist.h>
-#include <types/listener.h>
+/* forward declarations for structures below */
+struct bind_conf;
+struct ssl_bind_conf;
+struct proxy;
/* list of bind conf used by struct crtlist */
struct bind_conf_list {