Skip to content

Commit

Permalink
src: remove redundant RsaPointer (use RSAPointer)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jasnell authored and RafaelGSS committed Aug 5, 2024
1 parent fc67abd commit ee82f22
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/crypto/crypto_rsa.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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>());
Expand Down
1 change: 0 additions & 1 deletion src/crypto/crypto_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ee82f22

Please sign in to comment.