From 80dac8ab0d4c031666eff71298e02febde6701d2 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Mon, 22 Jul 2024 09:06:45 -0700 Subject: [PATCH] src: remove redundant RsaPointer (use RSAPointer) --- src/crypto/crypto_rsa.cc | 2 +- src/crypto/crypto_util.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/crypto/crypto_rsa.cc b/src/crypto/crypto_rsa.cc index 23b2b8c56dec8a..100f94460686bd 100644 --- a/src/crypto/crypto_rsa.cc +++ b/src/crypto/crypto_rsa.cc @@ -441,7 +441,7 @@ std::shared_ptr ImportJWKRsaKey( KeyType type = d_value->IsString() ? kKeyTypePrivate : kKeyTypePublic; - RsaPointer rsa(RSA_new()); + RSAPointer rsa(RSA_new()); ByteSource n = ByteSource::FromEncodedString(env, n_value.As()); ByteSource e = ByteSource::FromEncodedString(env, e_value.As()); diff --git a/src/crypto/crypto_util.h b/src/crypto/crypto_util.h index 4d97af48edf6d5..8431e1f380bc38 100644 --- a/src/crypto/crypto_util.h +++ b/src/crypto/crypto_util.h @@ -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;