Skip to content

Commit

Permalink
add back asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
rockspore committed Feb 9, 2024
1 parent 4c0aac5 commit 1a419ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cpp/common/tls_certificate_verifier.cc
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ bool CertificateVerifier::Verify(TlsCustomVerificationCheckRequest* request,

void CertificateVerifier::Cancel(TlsCustomVerificationCheckRequest* request,
const absl::Status& status) {
GPR_ASSERT(request != nullptr);
GPR_ASSERT(request->c_request() != nullptr);
// A copy of the status message has to be made since the API takes const
// char*.
grpc_tls_certificate_verifier_cancel(
Expand Down

0 comments on commit 1a419ea

Please sign in to comment.