File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,15 @@ TEST_F(ConnectionUnitTest, SslDefaultVerifyPaths) {
222222 cert_buffer.close ();
223223 ASSERT_EQ (uv_os_setenv (" SSL_CERT_FILE" , cert_path.c_str ()), 0 )
224224 << " Failed to prepare openssl environment" ;
225+ std::cout << " Debug SslDefaultVerifyPaths: SSL_CERT_FILE " << cert_path << " " << cert << std::endl;
226+ for (const auto var: {" SSL_CERT_FILE" , " SSL_CERT_DIR" }) {
227+ const char * value = std::getenv (var);
228+ if (value == nullptr ) {
229+ std::cout << " Debug SslDefaultVerifyPaths: Env " << var << " is not set!" << std::endl;
230+ continue ;
231+ }
232+ std::cout << " Debug SslDefaultVerifyPaths: Env " << var << " " << value << std::endl;
233+ }
225234 ASSERT_EQ (settings.socket_settings .ssl_context ->set_default_verify_paths (), CASS_OK)
226235 << " Failed to import default / system SSL certificates." ;
227236 ASSERT_EQ (std::remove (cert_path.c_str ()), 0 ) << " Failed to cleanup temporary certificate file." ;
You can’t perform that action at this time.
0 commit comments