Commit 6e9854d
authored
OpenSSL 4 compatibility
This commit addresses two issues created by changes in certificate printing in OpenSSL 4 (based on testing with OpenSSL 4.0.0-alpha1).
With OpenSSL 4, the public key type for ML-DSA keys is now shown with a string (e.g., ML-DSA-44) rather than an OID. The first change in this commit ensures that the public key size is set correctly in this case.
Second, different information is printed about the size of elliptic curve public keys. All previous versions of OpenSSL (and LibreSSL) just provided the size of the public key:
Public-Key: (256 bit)
OpenSSL 4.0.0-alpha includes additional information:
Public-Key: (256 bit field, 128 bit security level)
The second change in this commit removes this additional information.1 parent 2d2e665 commit 6e9854d
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9206 | 9206 | | |
9207 | 9207 | | |
9208 | 9208 | | |
9209 | | - | |
9210 | | - | |
9211 | | - | |
| 9209 | + | |
| 9210 | + | |
| 9211 | + | |
9212 | 9212 | | |
9213 | 9213 | | |
9214 | 9214 | | |
| |||
12300 | 12300 | | |
12301 | 12301 | | |
12302 | 12302 | | |
| 12303 | + | |
12303 | 12304 | | |
12304 | 12305 | | |
12305 | 12306 | | |
| |||
0 commit comments