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
Fix OpenSSL::X509::CRL#to_pem when building CRL from scratch (#333)
When building an CRL from scratch, the `crl` member variable has no
value, and when calling `to_pem` on the object, the following value is
returned instead of the actual CRL:
```
-----BEGIN X509 CRL-----
MAA=
-----END X509 CRL-----
```
The function `getCRL()` return the `crl` member variable if it is
non-null, and generate the CRL and store it in this variable otherwise.
It seems adequate to use this getter function rather than accessing the
member variable directly.
Fixes#163
0 commit comments