From 235ee553b735622e07c6587adff8944c75a0d315 Mon Sep 17 00:00:00 2001 From: Gary Mathews Date: Sat, 6 Nov 2021 18:14:12 -0700 Subject: [PATCH 1/3] Include openssl configuration --- binding.c | 1 + 1 file changed, 1 insertion(+) diff --git a/binding.c b/binding.c index 0957463..85ee066 100644 --- a/binding.c +++ b/binding.c @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include From bdcfa944ce24290ccc7f0f78954586195946cc3f Mon Sep 17 00:00:00 2001 From: Gary Mathews Date: Sat, 6 Nov 2021 18:15:56 -0700 Subject: [PATCH 2/3] Set undefined OPENSSL_API_COMPAT definition --- binding.gyp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/binding.gyp b/binding.gyp index aa3d671..ac0f1ca 100644 --- a/binding.gyp +++ b/binding.gyp @@ -2,7 +2,8 @@ "targets": [ { "target_name": "binding", - "sources": [ "binding.c" ] + "sources": [ "binding.c" ], + "defines": [ "OPENSSL_API_COMPAT=OPENSSL_CONFIGURED_API" ] }, { "target_name": "copy", From cca1ec898b592eb6baf4601e2177f600f0c7b2fc Mon Sep 17 00:00:00 2001 From: Gary Mathews Date: Sat, 6 Nov 2021 18:16:16 -0700 Subject: [PATCH 3/3] 5.0.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9f0eaee..10b5a4a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ronomon/crypto-async", - "version": "5.0.1", + "version": "5.0.2", "description": "Fast, reliable cipher, hash and hmac methods executed in Node's threadpool for multi-core throughput.", "main": "index.js", "files": [