mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 22:52:35 +02:00
BUILD: ssl: use SSL_MODE_ASYNC macro instead of OPENSSL_VERSION
This commit is contained in:
committed by
William Lallemand
parent
f69cd68737
commit
bdec3ba796
@@ -20,7 +20,7 @@
|
||||
#include <openssl/engine.h>
|
||||
#endif
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER >= 0x1010000fL) && !defined(OPENSSL_NO_ASYNC) && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
#ifdef SSL_MODE_ASYNC
|
||||
#include <openssl/async.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ SSL_CTX *ssl_sock_get_generated_cert(unsigned int key, struct bind_conf *bind_co
|
||||
int ssl_sock_set_generated_cert(SSL_CTX *ctx, unsigned int key, struct bind_conf *bind_conf);
|
||||
unsigned int ssl_sock_generated_cert_key(const void *data, size_t len);
|
||||
void ssl_sock_load_cert_sni(struct ckch_inst *ckch_inst, struct bind_conf *bind_conf);
|
||||
#if (HA_OPENSSL_VERSION_NUMBER >= 0x1010000fL) && !defined(OPENSSL_NO_ASYNC) && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
#ifdef SSL_MODE_ASYNC
|
||||
void ssl_async_fd_handler(int fd);
|
||||
void ssl_async_fd_free(int fd);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user