We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c45613 commit 093085cCopy full SHA for 093085c
src/core/tsi/ssl_transport_security.cc
@@ -1338,7 +1338,8 @@ absl::Status ConfigureSpiffeRoots(
1338
return absl::InvalidArgumentError(
1339
"spiffe: root stack in the SPIFFE Bundle Map is nullptr.");
1340
}
1341
-#if OPENSSL_VERSION_NUMBER >= 0x10100000L
+// the boringSSL library objective-C used did not have this function defined
1342
+#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(OPENSSL_APPLE)
1343
X509_STORE_CTX_set0_trusted_stack(ctx, *root_stack);
1344
#else
1345
X509_STORE_CTX_trusted_stack(ctx, *root_stack);
0 commit comments