Skip to content

Commit

Permalink
pacsign: hide confusing log message
Browse files Browse the repository at this point in the history
The openssl hsm_manager looks for a list of possible
versions for libcrypto. Hide a misleading "failed" message
when one of the versions is not found by making it a debug
message rather than an warning message.

Signed-off-by: Matthew Gerlach <matthew.gerlach@linux.intel.com>
  • Loading branch information
matthew-gerlach authored and fpgamatt committed Jan 25, 2024
1 parent 522c4da commit 034ce46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pacsign/pacsign/hsm_managers/openssl/openssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def _find_openssl_so(self, versions):
try:
dll = CDLL(link)
except OSError:
log.warn('CDLL(%s) failed', link)
log.debug('CDLL(%s) failed', link)
continue

if dll is None:
Expand Down

0 comments on commit 034ce46

Please sign in to comment.