Commit 58e9cae
Skip unencrypted PKCS#8 DER import test on pre-3.x
On pre-3.x, new_private_key() without a passphrase calls
d2i_RSAPrivateKey_bio() which only handles PKCS#1 DER format.
Unencrypted PKCS#8 DER import is not supported until OpenSSL 3.x
(or with the fix in PR cpan-authors#190). Without this skip, the test dies on
Debian bullseye (OpenSSL 1.1.1), killing the remaining 6 tests.
The encrypted PKCS#8 DER tests still run on pre-3.x because the
passphrase code path uses d2i_PKCS8PrivateKey_bio() which handles
PKCS#8 correctly.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 638686c commit 58e9cae
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
234 | 237 | | |
235 | 238 | | |
236 | 239 | | |
237 | | - | |
238 | | - | |
239 | | - | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
240 | 247 | | |
241 | 248 | | |
242 | 249 | | |
| |||
0 commit comments