Bump test RSA key sizes to a more realistic size

Looks like this code was derived from Chromium, which bumped this
in https://chromium-review.googlesource.com/c/chromium/src/+/4529975

See that CL for details.

PiperOrigin-RevId: 603779574
This commit is contained in:
hai007
2024-02-02 17:25:52 -08:00
committed by Copybara-Service
parent 58452f4049
commit 0efbd2a29d
@@ -364,7 +364,7 @@ TEST(RSAPrivateKeyUnitTest, ShortIntegers) {
TEST(RSAPrivateKeyUnitTest, CreateFromKeyTest) {
std::unique_ptr<crypto::RSAPrivateKey> key_pair(
crypto::RSAPrivateKey::Create(512));
crypto::RSAPrivateKey::Create(2048));
ASSERT_TRUE(key_pair.get());
std::unique_ptr<crypto::RSAPrivateKey> key_copy(