Skip to content

Commit

Permalink
Automated change: Fix sanity tests (#62)
Browse files Browse the repository at this point in the history
Co-authored-by: matthewstevenson88 <[email protected]>
  • Loading branch information
github-actions[bot] and matthewstevenson88 authored Jan 2, 2024
1 parent 8327687 commit e74f802
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/tsi/ssl_transport_security.cc
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ static tsi_result ssl_get_x509_common_name(X509* cert, unsigned char** utf8,
common_name_index =
X509_NAME_get_index_by_NID(subject_name, NID_commonName, -1);
if (common_name_index == -1) {
gpr_log(GPR_DEBUG, "Could not get common name of subject from certificate.");
gpr_log(GPR_DEBUG,
"Could not get common name of subject from certificate.");
return TSI_NOT_FOUND;
}
common_name_entry = X509_NAME_get_entry(subject_name, common_name_index);
Expand Down

0 comments on commit e74f802

Please sign in to comment.