Ingo Klöcker 81a33ea5e1 core: Fix use-after-free issue in test
* tests/gpg/t-edit-sign.c (sign_key, verify_key_signature): New.
(main): Factored out signing and verifying the result.
--

Factoring the two steps of the test into different functions fixes the
use-after-free issue that was caused by accidentaly using a variable
of the first step in the second step.

GnuPG-bug-id: 5509
2021-06-26 18:03:37 +02:00
..
2020-10-03 19:54:00 +02:00
2019-05-02 10:26:44 +02:00
2021-05-12 08:50:04 +02:00
2017-07-13 16:06:27 +02:00