summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_openssl_bio.h
diff options
context:
space:
mode:
Diffstat (limited to 'librabbitmq/amqp_openssl_bio.h')
-rw-r--r--librabbitmq/amqp_openssl_bio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/librabbitmq/amqp_openssl_bio.h b/librabbitmq/amqp_openssl_bio.h
index ff3f0b6..f3e5b7f 100644
--- a/librabbitmq/amqp_openssl_bio.h
+++ b/librabbitmq/amqp_openssl_bio.h
@@ -4,6 +4,9 @@
#ifndef AMQP_OPENSSL_BIO
#define AMQP_OPENSSL_BIO
+// Use OpenSSL v1.1.0 API.
+#define OPENSSL_API_COMPAT 10100
+
#include <openssl/bio.h>
int amqp_openssl_bio_init(void);