summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/nxt_openssl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nxt_openssl.c b/src/nxt_openssl.c
index 59c58b2b..38cf652d 100644
--- a/src/nxt_openssl.c
+++ b/src/nxt_openssl.c
@@ -6,6 +6,9 @@
#include <nxt_main.h>
#include <nxt_conf.h>
+
+#define OPENSSL_SUPPRESS_DEPRECATED
+
#include <openssl/ssl.h>
#include <openssl/conf.h>
#include <openssl/err.h>