Skip to content

Bad management of file in case of OpenSSLException in X509Certificate::readPEM and X509Certificate::writePEM #3525

@nath700

Description

@nath700

Hi,

There are issues when X509Certificate::readPEM or X509Certificate::writePEM throw an OpenSSLException. The BIO object (the "file") isn't destroyed, this cause trouble if we need to manipulate the file again.

Thanks and regards

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions