Commit 3c22ac2
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 9c086b2 commit 3c22ac2
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9403 | 9403 | | |
9404 | 9404 | | |
9405 | 9405 | | |
9406 | | - | |
9407 | | - | |
9408 | | - | |
| 9406 | + | |
| 9407 | + | |
| 9408 | + | |
9409 | 9409 | | |
9410 | 9410 | | |
9411 | 9411 | | |
| |||
12572 | 12572 | | |
12573 | 12573 | | |
12574 | 12574 | | |
| 12575 | + | |
12575 | 12576 | | |
12576 | 12577 | | |
12577 | 12578 | | |
| |||
0 commit comments