diff options
author | Tianjia Zhang <[email protected]> | 2022-06-27 17:21:07 +0800 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2022-08-03 23:56:20 +0300 |
commit | 1a83950270684f860b15430394ea8df540d71353 (patch) | |
tree | 5d7fc8bc723f9adb5a280d6c49a9bbffe35c59b3 /scripts/gdb/linux/utils.py | |
parent | 74ad4334b2ae4f83d8018487d625d1073fd3f02d (diff) |
sign-file: Fix confusing error messages
When an error occurs, use errx() instead of err() to display the
error message, because openssl has its own error record. When an
error occurs, errno will not be changed, while err() displays the
errno error message. It will cause confusion. For example, when
CMS_add1_signer() fails, the following message will appear:
sign-file: CMS_add1_signer: Success
errx() ignores errno and does not cause such issue.
Signed-off-by: Tianjia Zhang <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions