Skip to content

Commit

Permalink
Use c strerror not c++ std::strerror
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhop committed Dec 24, 2024
1 parent afd0b38 commit 924db9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl/test/bssl_shim.cc
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ static bool DoConnection(bssl::UniquePtr<SSL_SESSION> *out_session,
fprintf(stderr, "SSL error: %s\n", SSL_error_description(ssl_err));
if (ssl_err == SSL_ERROR_SYSCALL) {
int err = errno;
fprintf(stderr, "Error occurred: errno = %d, description = %s\n", err, std::strerror(err));
fprintf(stderr, "Error occurred: errno = %d, description = %s\n", err, strerror(err));

}
}
Expand Down

0 comments on commit 924db9d

Please sign in to comment.