1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-03-28 22:49:59 +01:00
Ramón García ad8bce774d
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. - wk@gnupg.org
2025-03-18 12:14:50 +01:00
..
2023-03-16 09:46:05 +01:00
2024-05-31 12:28:32 +02:00
2024-05-31 12:28:32 +02:00
2025-02-12 10:31:06 +01:00
2023-12-22 13:45:02 +01:00
2024-09-11 14:30:40 +02:00