-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Makes 2 tests fail: - httpcli_test - interop_test
- Loading branch information
Showing
11 changed files
with
13 additions
and
11,345 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -406,7 +406,7 @@ static void init_default_pem_root_certs(void) { | |
} | ||
} | ||
|
||
static size_t get_default_pem_roots(const unsigned char **pem_root_certs) { | ||
size_t grpc_get_default_ssl_roots(const unsigned char **pem_root_certs) { | ||
/* TODO([email protected]): Maybe revisit the approach which consists in | ||
loading all the roots once for the lifetime of the process. */ | ||
static gpr_once once = GPR_ONCE_INIT; | ||
|
@@ -460,7 +460,7 @@ grpc_security_status grpc_ssl_channel_security_context_create( | |
c->overridden_target_name = gpr_strdup(overridden_target_name); | ||
} | ||
if (config->pem_root_certs == NULL) { | ||
pem_root_certs_size = get_default_pem_roots(&pem_root_certs); | ||
pem_root_certs_size = grpc_get_default_ssl_roots(&pem_root_certs); | ||
if (pem_root_certs == NULL || pem_root_certs_size == 0) { | ||
gpr_log(GPR_ERROR, "Could not get default pem root certs."); | ||
goto error; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters