mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
fix exception text
This commit is contained in:
parent
720dbe1262
commit
0af3f699af
@ -416,7 +416,7 @@ X509Certificate::List X509Certificate::readPEM(const std::string& pemFileName)
|
||||
{
|
||||
List caCertList;
|
||||
BIO* pBIO = BIO_new_file(pemFileName.c_str(), "r");
|
||||
if (pBIO == NULL) throw OpenFileException(Poco::format("X509Certificate::readPEM()", pemFileName));
|
||||
if (pBIO == NULL) throw OpenFileException(Poco::format("X509Certificate::readPEM(%s)", pemFileName));
|
||||
X509* x = PEM_read_bio_X509(pBIO, NULL, 0, NULL);
|
||||
if (!x)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user