]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: ssl: move some OpenSSL defines from ssl_sock to openssl-compat
authorWilly Tarreau <w@1wt.eu>
Fri, 10 May 2019 07:22:53 +0000 (09:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 May 2019 07:31:06 +0000 (09:31 +0200)
commit9356dacd224b1d1223c7e39dd273d2562d66b246
tree33b22764fa09112d4dd711a1d34388cb31d7e5e9
parent5599456ee2355509c45f1825e17b3fd233f0b8b4
REORG: ssl: move some OpenSSL defines from ssl_sock to openssl-compat

Some defines like OPENSSL_VERSION or X509_getm_notBefore() have nothing
to do in ssl_sock and must move to openssl-compat.h so that they are
consistently shared by the whole code. A warning in the code was added
against wild additions of macros there.
include/common/openssl-compat.h
src/ssl_sock.c