Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tls): User friendly logging of OpenSSL errors #1851

Merged
merged 2 commits into from Sep 13, 2023

Conversation

royjacobson
Copy link
Contributor

Fixes #1588

cc @Abhra303

@@ -51,18 +53,35 @@ using absl::StrCat;
namespace {

#ifdef DFLY_USE_SSL

void PrintSSLError() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You implemented this and the SSL_CHECK macro twice. Maybe to avoid duplication you can move that in a header sslerror.h (or any other name) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

kostasrim
kostasrim previously approved these changes Sep 13, 2023
@royjacobson royjacobson merged commit ef05022 into main Sep 13, 2023
10 checks passed
@royjacobson royjacobson deleted the openssl_print_errors branch September 13, 2023 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

crash on access problem to TLS key file
2 participants