diff options
author | jiangtaoli2016 <jiangtao@google.com> | 2018-08-31 11:30:28 -0700 |
---|---|---|
committer | jiangtaoli2016 <jiangtao@google.com> | 2018-09-04 15:23:20 -0700 |
commit | e361d0f6910db66e081d125e45e58b96e22d3e11 (patch) | |
tree | 8c1337d2202ad6a434b876e8a3fc007daee3d2d1 /test/core/security/security_connector_test.cc | |
parent | c21eed05419c44911280e07d1f0af04eea6d60e5 (diff) |
Turn loading system root certificate as default
Diffstat (limited to 'test/core/security/security_connector_test.cc')
-rw-r--r-- | test/core/security/security_connector_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/security/security_connector_test.cc b/test/core/security/security_connector_test.cc index 82d77eef8b..9dd37b975b 100644 --- a/test/core/security/security_connector_test.cc +++ b/test/core/security/security_connector_test.cc @@ -415,6 +415,7 @@ static void test_default_ssl_roots(void) { /* Now setup a permanent failure for the overridden roots and we should get an empty slice. */ + gpr_setenv("GRPC_NOT_USE_SYSTEM_SSL_ROOTS", "true"); grpc_set_ssl_roots_override_callback(override_roots_permanent_failure); roots = grpc_core::TestDefaultSslRootStore::ComputePemRootCertsForTesting(); GPR_ASSERT(GRPC_SLICE_IS_EMPTY(roots)); |