]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: shctx: do not depend on openssl anymore
authorWilly Tarreau <w@1wt.eu>
Wed, 8 Nov 2017 13:33:36 +0000 (14:33 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Nov 2017 13:33:36 +0000 (14:33 +0100)
The build breaks on a machine without openssl/crypto.h because shctx
still loads openssl-compat.h while it doesn't need it anymore since
the code was moved :

In file included from src/shctx.c:20:0:
include/proto/openssl-compat.h:3:28: fatal error: openssl/crypto.h: No such file or directory
 #include <openssl/crypto.h>

Just remove include openssl-compat from shctx.

src/shctx.c

index 61fd12d3d61823d4cecf0305e1e9069f14d473e3..59ac8b83162e9086441b4a5f23b55c2991cb4f4b 100644 (file)
@@ -17,7 +17,6 @@
 #include <types/global.h>
 #include <common/mini-clist.h>
 #include "proto/shctx.h"
-#include <proto/openssl-compat.h>
 
 #if !defined (USE_PRIVATE_CACHE)