How to enable verbose OpenSSL error messages #3271
Unanswered
itsManjeet
asked this question in
Q&A
Replies: 1 comment
-
My uneducated guess is that, because libspdm uses the UEFI profile of OpenSSL, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi team,
I’m currently working with libspdm for TPM support and using the OpenSSL crypto library backend. When an OpenSSL-related error occurs, the logs only show numeric error codes and not the detailed, human-readable error strings.
For example, when calling
ERR_print_errors
, I get output like this:What I’ve tried:
It seems that the OpenSSL error strings (e.g., the detailed “reason” text) are not being properly loaded or printed.
Question:
Is there a recommended way within libspdm to enable verbose OpenSSL error messages, or to ensure that ERR_load_*_strings() or similar initialization calls are made?
Environment:
bf16652ead0ad03c5406cbe2cb3e8826d19e5c79
Beta Was this translation helpful? Give feedback.
All reactions