Skip to content

Commit

Permalink
loadCertificateFromFile -> loadFileContent
Browse files Browse the repository at this point in the history
  • Loading branch information
COM8 committed Dec 21, 2024
1 parent 19a1a4b commit 64af0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ssl_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ TEST(SslTests, LoadCertFromBufferAndCallbackThrowTest) {

std::string baseDirPath{server->getBaseDirPath()};
std::string crtPath{baseDirPath + "certificates/"};
std::string certBuffer = loadCertificateFromFile(crtPath + "root-ca.crt");
std::string certBuffer = loadFileContent(crtPath + "root-ca.crt");

cpr::ssl::SslCtxCallback sslCtxCb{[](const std::shared_ptr<CurlHolder>& /*curl_holder*/, void* /*ssl_ctx*/, intptr_t /*userdata*/) { return CURLE_OK; }};

Expand Down

0 comments on commit 64af0e3

Please sign in to comment.