Skip to content

Commit 53776dc

Browse files
committed
... with double colon
1 parent 7172797 commit 53776dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/unit/tests/test_connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ TEST_F(ConnectionUnitTest, SslDefaultVerifyPaths) {
220220
std::ofstream cert_buffer(cert_path.c_str());
221221
cert_buffer << cert;
222222
cert_buffer.close();
223-
ASSERT_EQ(setenv("SSL_CERT_FILE", cert_path.c_str(), 1), 0)
223+
ASSERT_EQ(::setenv("SSL_CERT_FILE", cert_path.c_str(), 1), 0)
224224
<< "Failed to prepare openssl environment";
225225
std::cout << "Debug SslDefaultVerifyPaths: SSL_CERT_FILE " << cert_path << " " << cert << std::endl;
226226
for (const auto var: {"SSL_CERT_FILE", "SSL_CERT_DIR"}) {

0 commit comments

Comments
 (0)