Skip to content

Commit bf267a5

Browse files
committed
test: smaller key size to speed up tests
1 parent 94238fb commit bf267a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/tests/openssl_key_type_bits_enforcement.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ foreach ([OPENSSL_KEYTYPE_RSA, OPENSSL_KEYTYPE_DSA, OPENSSL_KEYTYPE_DH] as $type
4141
}
4242
// Should succeed: RSA, DSA, DH with bits >= MIN_KEY_LENGTH
4343
foreach ([OPENSSL_KEYTYPE_RSA, OPENSSL_KEYTYPE_DSA, OPENSSL_KEYTYPE_DH] as $type) {
44-
test_key($type, 2048); // valid
44+
test_key($type, 1024); // valid, but small to keep test fast
4545
}
4646
// Should succeed: EC with curve only
4747
test_key(OPENSSL_KEYTYPE_EC);

0 commit comments

Comments
 (0)