How to enable verbose OpenSSL error messages #3271
Replies: 2 comments
-
|
My uneducated guess is that, because libspdm uses the UEFI profile of OpenSSL, |
Beta Was this translation helpful? Give feedback.
-
|
Apologies for the delayed response. I have tried enabling the UEFI profile of OpenSSL with |
Beta Was this translation helpful? Give feedback.
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:
bf16652ead0ad03c5406cbe2cb3e8826d19e5c79Beta Was this translation helpful? Give feedback.
All reactions