src: remove redundant RsaPointer (use RSAPointer)
PR-URL: https://github.com/nodejs/node/pull/54003 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
d1c7817da2
commit
a851d0cce2
@ -441,7 +441,7 @@ std::shared_ptr<KeyObjectData> ImportJWKRsaKey(
|
||||
|
||||
KeyType type = d_value->IsString() ? kKeyTypePrivate : kKeyTypePublic;
|
||||
|
||||
RsaPointer rsa(RSA_new());
|
||||
RSAPointer rsa(RSA_new());
|
||||
|
||||
ByteSource n = ByteSource::FromEncodedString(env, n_value.As<String>());
|
||||
ByteSource e = ByteSource::FromEncodedString(env, e_value.As<String>());
|
||||
|
@ -75,7 +75,6 @@ using DHPointer = ncrypto::DHPointer;
|
||||
using ECDSASigPointer = ncrypto::ECDSASigPointer;
|
||||
using HMACCtxPointer = ncrypto::HMACCtxPointer;
|
||||
using CipherCtxPointer = ncrypto::CipherCtxPointer;
|
||||
using RsaPointer = ncrypto::RSAPointer;
|
||||
using DsaPointer = ncrypto::DSAPointer;
|
||||
using DsaSigPointer = ncrypto::DSASigPointer;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user