summaryrefslogtreecommitdiff
path: root/src/node_crypto.h
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2019-03-13 17:31:03 +0100
committerTobias Nießen <tniessen@tnie.de>2019-03-15 17:01:56 +0100
commit6f77af541e4336037f08a876e1a3fa657fd22675 (patch)
treed4114ff19f3024ff237e90a12946eb543c96510f /src/node_crypto.h
parentfe8972a4ff4aee5ba48e01e3cad0c9464ba70285 (diff)
downloadandroid-node-v8-6f77af541e4336037f08a876e1a3fa657fd22675.tar.gz
android-node-v8-6f77af541e4336037f08a876e1a3fa657fd22675.tar.bz2
android-node-v8-6f77af541e4336037f08a876e1a3fa657fd22675.zip
Revert "crypto: add KeyObject.asymmetricKeySize"
This reverts commit 4895927a0a4372e0699f84657e0a299393a3d281. PR-URL: https://github.com/nodejs/node/pull/26636 Fixes: https://github.com/nodejs/node/issues/26631 Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'src/node_crypto.h')
-rw-r--r--src/node_crypto.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/node_crypto.h b/src/node_crypto.h
index c4477a12f6..982fc70543 100644
--- a/src/node_crypto.h
+++ b/src/node_crypto.h
@@ -456,7 +456,6 @@ class KeyObject : public BaseObject {
// only be used to implement cryptograohic operations requiring the key.
ManagedEVPPKey GetAsymmetricKey() const;
const char* GetSymmetricKey() const;
- size_t GetAsymmetricKeySize() const;
size_t GetSymmetricKeySize() const;
protected:
@@ -471,9 +470,6 @@ class KeyObject : public BaseObject {
const v8::FunctionCallbackInfo<v8::Value>& args);
v8::Local<v8::String> GetAsymmetricKeyType() const;
- static void GetAsymmetricKeySize(
- const v8::FunctionCallbackInfo<v8::Value>& args);
-
static void GetSymmetricKeySize(
const v8::FunctionCallbackInfo<v8::Value>& args);