Skip to content

Commit b72232f

Browse files
authored
Allow macOS builds to compile and run SSL tests (assuming OpenSSL from Homebrew is installed)
1 parent 408ce18 commit b72232f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ut/ssl_ut.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ namespace {
2424
// On Ubuntu 20.04 /etc/ssl/certs is a default directory with the CA files
2525
const auto DEAFULT_CA_DIRECTORY_PATH = "/etc/ssl/certs";
2626
#elif defined(__APPLE__)
27+
// On macOS we will rely on Homebrew's OpenSSL installation
28+
const auto DEAFULT_CA_DIRECTORY_PATH = "/usr/local/etc/openssl@1.1/cert.pem";
2729
#elif defined(_win_)
2830
#endif
2931

0 commit comments

Comments
 (0)