mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-14 15:34:35 +00:00
REORG: ssl: move openssl-compat from proto to common
This way we can include it much earlier to cover types/ as well.
This commit is contained in:
parent
df17e0e1a7
commit
5599456ee2
@ -1,5 +1,5 @@
|
||||
#ifndef _PROTO_OPENSSL_COMPAT_H
|
||||
#define _PROTO_OPENSSL_COMPAT_H
|
||||
#ifndef _COMMON_OPENSSL_COMPAT_H
|
||||
#define _COMMON_OPENSSL_COMPAT_H
|
||||
#include <openssl/crypto.h>
|
||||
#include <openssl/ssl.h>
|
||||
#include <openssl/x509.h>
|
||||
@ -201,4 +201,4 @@ static inline int EVP_PKEY_base_id(EVP_PKEY *pkey)
|
||||
#define TLSEXT_signature_ecdsa 3
|
||||
#endif
|
||||
|
||||
#endif /* _PROTO_OPENSSL_COMPAT_H */
|
||||
#endif /* _COMMON_OPENSSL_COMPAT_H */
|
@ -26,7 +26,7 @@
|
||||
#include <ebmbtree.h>
|
||||
|
||||
#include <common/hathreads.h>
|
||||
#include <proto/openssl-compat.h>
|
||||
#include <common/openssl-compat.h>
|
||||
|
||||
struct pkey_info {
|
||||
uint8_t sig; /* TLSEXT_signature_[rsa,ecdsa,...] */
|
||||
|
@ -126,6 +126,7 @@
|
||||
#include <proto/dns.h>
|
||||
#include <proto/vars.h>
|
||||
#ifdef USE_OPENSSL
|
||||
#include <common/openssl-compat.h>
|
||||
#include <proto/ssl_sock.h>
|
||||
#include <openssl/rand.h>
|
||||
#endif
|
||||
|
@ -87,6 +87,7 @@
|
||||
#include <common/debug.h>
|
||||
#include <common/errors.h>
|
||||
#include <common/initcall.h>
|
||||
#include <common/openssl-compat.h>
|
||||
#include <common/standard.h>
|
||||
#include <common/ticks.h>
|
||||
#include <common/time.h>
|
||||
@ -111,7 +112,6 @@
|
||||
#include <proto/frontend.h>
|
||||
#include <proto/http_rules.h>
|
||||
#include <proto/listener.h>
|
||||
#include <proto/openssl-compat.h>
|
||||
#include <proto/pattern.h>
|
||||
#include <proto/proto_tcp.h>
|
||||
#include <proto/proto_http.h>
|
||||
|
Loading…
Reference in New Issue
Block a user