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

ESYS: Add OpenSSL error outputs to calls #2896

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JuergenReppSIT
Copy link
Member

Additionally to the esys error log the OpenSSLx error message will be displayed.
Fixes: #2892

unsigned long err = ERR_get_error(); \
char err_buffer[256]; \
ERR_error_string_n(err, err_buffer, sizeof(err_buffer)); \
LOG_ERROR("Failure %s", err_buffer); \
Copy link
Member

Choose a reason for hiding this comment

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

Let's replace this with "OpenSSL reported: %s" or something similar ?

Additionally to the esys error log the OpenSSLx error message
will be displayed.
Fixes: tpm2-software#2892

Signed-off-by: Juergen Repp <juergen_repp@web.de>
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.

Add OpenSSL error outputs to calls
2 participants