fix exception text

This commit is contained in:
Günter Obiltschnig 2022-04-15 17:53:21 +02:00
parent 720dbe1262
commit 0af3f699af

View File

@ -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)
{