From 0efbd2a29d6885c9a86d7fc48b87945780683cbe Mon Sep 17 00:00:00 2001 From: hai007 Date: Fri, 2 Feb 2024 13:55:13 -0800 Subject: [PATCH] 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 --- internal/crypto_cros/rsa_private_key_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/crypto_cros/rsa_private_key_unittest.cc b/internal/crypto_cros/rsa_private_key_unittest.cc index e5202b03..24212cf0 100644 --- a/internal/crypto_cros/rsa_private_key_unittest.cc +++ b/internal/crypto_cros/rsa_private_key_unittest.cc @@ -364,7 +364,7 @@ TEST(RSAPrivateKeyUnitTest, ShortIntegers) { TEST(RSAPrivateKeyUnitTest, CreateFromKeyTest) { std::unique_ptr key_pair( - crypto::RSAPrivateKey::Create(512)); + crypto::RSAPrivateKey::Create(2048)); ASSERT_TRUE(key_pair.get()); std::unique_ptr key_copy(