aboutsummaryrefslogtreecommitdiffstats
path: root/common/ssh-utils.h
diff options
context:
space:
mode:
authorRamón García <[email protected]>2025-03-18 11:14:50 +0000
committerWerner Koch <[email protected]>2025-03-18 11:14:50 +0000
commitad8bce774d91bbd1dbbf43f8b6f018a5e981e176 (patch)
treec39a430f7e4a6ef8312ce3350521935b221e9b69 /common/ssh-utils.h
parentgpgsm: Avoid increasing error count when enumerating an expired cert. (diff)
downloadgnupg-ad8bce774d91bbd1dbbf43f8b6f018a5e981e176.tar.gz
gnupg-ad8bce774d91bbd1dbbf43f8b6f018a5e981e176.zip
gpgsm: Fix error message if all selected certificates are expired.
* sm/certlist.c (gpgsm_add_to_certlist): Track expired error. Make the expired check easier to read by using if and case. -- Original ChangeLog: If all selected certificates are expired, don't mislead the user saying that no certificate was found. Instead, return the error of the first certificate selected. * sm/certlist.c: if one expired certificate was found, don't return no certificate found, return instead the expiration error I heavily changed Ramon's original patch and hope that I don't introduced a regression to his patch. - [email protected]
Diffstat (limited to 'common/ssh-utils.h')
0 files changed, 0 insertions, 0 deletions