|
|
|
@ -101,8 +101,7 @@ void TlsCredentialReloadArgDestroyContext(void* context) { |
|
|
|
|
* config. They populate a C server authorization check arg with the result |
|
|
|
|
* of a C++ server authorization check schedule/cancel API. **/ |
|
|
|
|
int TlsServerAuthorizationCheckConfigCSchedule( |
|
|
|
|
void* /*config_user_data*/, |
|
|
|
|
grpc_tls_server_authorization_check_arg* arg) { |
|
|
|
|
void* /*config_user_data*/, grpc_tls_server_authorization_check_arg* arg) { |
|
|
|
|
if (arg == nullptr || arg->config == nullptr || |
|
|
|
|
arg->config->context() == nullptr) { |
|
|
|
|
gpr_log(GPR_ERROR, |
|
|
|
@ -118,8 +117,7 @@ int TlsServerAuthorizationCheckConfigCSchedule( |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void TlsServerAuthorizationCheckConfigCCancel( |
|
|
|
|
void* /*config_user_data*/, |
|
|
|
|
grpc_tls_server_authorization_check_arg* arg) { |
|
|
|
|
void* /*config_user_data*/, grpc_tls_server_authorization_check_arg* arg) { |
|
|
|
|
if (arg == nullptr || arg->config == nullptr || |
|
|
|
|
arg->config->context() == nullptr) { |
|
|
|
|
gpr_log(GPR_ERROR, |
|
|
|
|