fix(X509Certificate): add missing string format

This commit is contained in:
Alex Fabijanic 2022-04-04 10:24:01 +00:00
parent 063520c8ef
commit a2870da1d0

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