summaryrefslogtreecommitdiff
path: root/src/node_crypto.h
diff options
context:
space:
mode:
authorShelley Vohr <shelley.vohr@gmail.com>2019-08-26 12:18:50 -0700
committerUjjwal Sharma <usharma1998@gmail.com>2019-08-29 10:12:58 +0530
commit17a697c794f2525c9789fd92c2206a1b634cf473 (patch)
tree24edd2d6dc2c1f7eaa8ba8fb8c117cfb8fa1f329 /src/node_crypto.h
parent8675152f0f15002915225216f48e8bdd39612a81 (diff)
downloadandroid-node-v8-17a697c794f2525c9789fd92c2206a1b634cf473.tar.gz
android-node-v8-17a697c794f2525c9789fd92c2206a1b634cf473.tar.bz2
android-node-v8-17a697c794f2525c9789fd92c2206a1b634cf473.zip
crypto: don't expose openssl internals
PR-URL: https://github.com/nodejs/node/pull/29325 Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r--src/node_crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h
index a121c82295..99e6c48117 100644
--- a/src/node_crypto.h
+++ b/src/node_crypto.h
@@ -713,7 +713,7 @@ class PublicKeyCipher {
static bool Cipher(Environment* env,
const ManagedEVPPKey& pkey,
int padding,
- const char* oaep_hash,
+ const EVP_MD* digest,
const unsigned char* data,
int len,
AllocatedBuffer* out);