REORG: ssl: move openssl-compat from proto to common
This way we can include it much earlier to cover types/ as well.
diff --git a/include/proto/openssl-compat.h b/include/common/openssl-compat.h
similarity index 97%
rename from include/proto/openssl-compat.h
rename to include/common/openssl-compat.h
index 1f28b52..bc36efc 100644
--- a/include/proto/openssl-compat.h
+++ b/include/common/openssl-compat.h
@@ -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 @@
#define TLSEXT_signature_ecdsa 3
#endif
-#endif /* _PROTO_OPENSSL_COMPAT_H */
+#endif /* _COMMON_OPENSSL_COMPAT_H */
diff --git a/include/types/ssl_sock.h b/include/types/ssl_sock.h
index 24b7dc7..3de01e9 100644
--- a/include/types/ssl_sock.h
+++ b/include/types/ssl_sock.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,...] */