Skip to content

Commit a851d0c

Browse files
authored
src: remove redundant RsaPointer (use RSAPointer)
PR-URL: #54003 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d1c7817 commit a851d0c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/crypto/crypto_rsa.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ std::shared_ptr<KeyObjectData> ImportJWKRsaKey(
441441

442442
KeyType type = d_value->IsString() ? kKeyTypePrivate : kKeyTypePublic;
443443

444-
RsaPointer rsa(RSA_new());
444+
RSAPointer rsa(RSA_new());
445445

446446
ByteSource n = ByteSource::FromEncodedString(env, n_value.As<String>());
447447
ByteSource e = ByteSource::FromEncodedString(env, e_value.As<String>());

src/crypto/crypto_util.h

-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ using DHPointer = ncrypto::DHPointer;
7575
using ECDSASigPointer = ncrypto::ECDSASigPointer;
7676
using HMACCtxPointer = ncrypto::HMACCtxPointer;
7777
using CipherCtxPointer = ncrypto::CipherCtxPointer;
78-
using RsaPointer = ncrypto::RSAPointer;
7978
using DsaPointer = ncrypto::DSAPointer;
8079
using DsaSigPointer = ncrypto::DSASigPointer;
8180

0 commit comments

Comments
 (0)