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

Add OpenSSL error outputs to calls #2892

Open
AndreasFuchsTPM opened this issue Aug 21, 2024 · 0 comments · May be fixed by #2896
Open

Add OpenSSL error outputs to calls #2892

AndreasFuchsTPM opened this issue Aug 21, 2024 · 0 comments · May be fixed by #2896

Comments

@AndreasFuchsTPM
Copy link
Member

Add OpenSSL errors to calls

char err_buffer[256];
ERR_error_string_n(err, err_buffer, sizeof(err_buffer));
LOG_ERROR("Failure %s", err_buffer);

Helps with #2889 debugging

JuergenReppSIT added a commit to JuergenReppSIT/tpm2-tss that referenced this issue Aug 21, 2024
Additionally to the esys error log the OpenSSLx error message
will be displayed.
Fixes: tpm2-software#2892

Signed-off-by: Juergen Repp <[email protected]>
@JuergenReppSIT JuergenReppSIT linked a pull request Aug 21, 2024 that will close this issue
JuergenReppSIT added a commit to JuergenReppSIT/tpm2-tss that referenced this issue Aug 22, 2024
Additionally to the esys error log the OpenSSLx error message
will be displayed.
Fixes: tpm2-software#2892

Signed-off-by: Juergen Repp <[email protected]>
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 a pull request may close this issue.

1 participant