mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user