Commit 9e2b854
conf: fix support for private key PEM files other than PKCS#8
The Mbed TLS bug being worked around
(Mbed-TLS/mbedtls#3896)
affects _all_ PEM inputs.
`conf_set_pem` only applied the workaround to certificates and
PKCS#8 encoded keys.
`-----BEGIN PRIVATE KEY-----` is the PKCS#8 PEM header called out in
RFC 7468. While `-----BEGIN EC PRIVATE KEY-----` is not mentioned in
that RFC, RFC 5915 does describe it as a "popular format" for using
PEM encoding to store an EC key, and most crypto libraries implement it.
Origin: #271 parent e06ee13 commit 9e2b854
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
| 307 | + | |
307 | 308 | | |
308 | 309 | | |
309 | 310 | | |
| |||
0 commit comments