You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously when writing CSR DER from `CertificateParams` that specified
custom extensions, but did not specify any SANs, the serialization code
would skip over writing the PKCS9 extension request attribute.
This commit updates the serialization logic to ensure the attribute is
written when either SANs are provided, or custom extensions are present.
Prior to this update, the modified `test_x509_custom_ext` test fails,
reproducing the problem reported in the issue tracker:
```
'test_x509_custom_ext::custom_ext' panicked at 'missing requested extensions'
```
With the update, it passes again.
0 commit comments