mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-02 07:31:37 +02:00
fix(X509Certificate): add missing string format
This commit is contained in:
parent
063520c8ef
commit
a2870da1d0
@ -416,7 +416,7 @@ X509Certificate::List X509Certificate::readPEM(const std::string& pemFileName)
|
|||||||
{
|
{
|
||||||
List caCertList;
|
List caCertList;
|
||||||
BIO* pBIO = BIO_new_file(pemFileName.c_str(), "r");
|
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);
|
X509* x = PEM_read_bio_X509(pBIO, NULL, 0, NULL);
|
||||||
if (!x)
|
if (!x)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user