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
..
2016-09-22 09:12:43 +02:00
2016-09-23 16:08:33 +02:00
2018-01-29 12:04:55 +09:00
2005-10-19 08:23:23 +00:00