1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-05-14 08:13:25 +02:00
Werner Koch 3ea8cab6a4
common: Fix logic for certain recsel conditions.
* common/recsel.c (recsel_select): Change processing of NULL values.
* common/t-recsel.c (run_test_2): Adjust for this change.  Also a type
fix for s/"letter"/"letters"/.
--

The getval function may return NULL which indicates that there is no
useful value available.  For example because the propertyname is not
defined for some external context (e.g. in gpg the packet type).  This
also required to fix the test for boolean tests of a non existing
property name.

Reported-by: shniubobo at gnupg-users on 2025-04-18.
2025-05-02 12:09:19 +02:00
..
2018-10-25 16:53:05 -04:00
2023-10-02 13:03:03 +02:00
2023-10-02 13:03:03 +02:00
2015-10-28 10:20:17 +01:00
2021-10-06 10:35:51 +02:00
2020-02-18 18:07:46 -05:00
2015-11-17 12:50:22 +01:00
2023-01-11 11:33:26 +01:00
2021-12-20 19:34:34 +01:00
2021-12-20 19:34:34 +01:00
2018-10-25 16:53:05 -04:00
2018-10-25 16:53:05 -04:00
2019-04-16 13:24:10 +09:00
2019-07-12 12:11:26 +09:00
2020-02-18 18:07:46 -05:00
2016-03-02 14:27:30 +01:00
2018-10-25 16:53:05 -04:00
2023-05-01 11:38:20 +09:00
2018-10-24 15:56:18 -04:00
2024-02-10 14:26:55 +01:00
2023-09-07 17:21:05 +02:00
2023-10-02 13:03:03 +02:00
2019-10-01 10:32:31 +02:00
2018-10-24 15:56:18 -04:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2022-04-06 13:28:15 +09:00
2022-08-02 14:35:38 +02:00
2024-01-04 16:29:33 +01:00
2022-08-02 14:35:38 +02:00
2022-08-02 14:35:38 +02:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.