Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Address OpenSSL build failure #17

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions binding.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <assert.h>
#include <math.h>
#include <node_api.h>
#include <openssl/configuration.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
Expand Down
3 changes: 2 additions & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"targets": [
{
"target_name": "binding",
"sources": [ "binding.c" ]
"sources": [ "binding.c" ],
"defines": [ "OPENSSL_API_COMPAT=OPENSSL_CONFIGURED_API" ]
},
{
"target_name": "copy",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down