From 1a7bc88ee756df127761c90a4b66d885f0c9de74 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 7 Oct 2024 10:33:13 +0200 Subject: core: New flag fields beta_compliance. * src/gpgme.h.in (struct _gpgme_subkey): Add field beta_compliance. (struct _gpgme_op_decrypt_result): Ditto. (struct _gpgme_signature): Ditto. * src/util.h (PARSE_COMPLIANCE_FLAGS): Handle the new 2023 value. * tests/run-decrypt.c: Append a "(beta)" to the vs-de compliance. * tests/run-keylist.c: Ditto. * tests/run-verify.c: Ditto. -- See GnuPG commit b287fb577587655559fefb90f7ed90c9a15dc6a3 --- tests/run-decrypt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/run-decrypt.c') diff --git a/tests/run-decrypt.c b/tests/run-decrypt.c index 0e38e0d3..6869f4d5 100644 --- a/tests/run-decrypt.c +++ b/tests/run-decrypt.c @@ -57,7 +57,8 @@ print_result (gpgme_decrypt_result_t result) printf ("Original file name .: %s\n", nonnull(result->file_name)); printf ("Wrong key usage ....: %s\n", result->wrong_key_usage? "yes":"no"); printf ("Legacy w/o MDC ... .: %s\n", result->legacy_cipher_nomdc?"yes":"no"); - printf ("Compliance de-vs ...: %s\n", result->is_de_vs? "yes":"no"); + printf ("Compliance de-vs ...: %s%s\n", result->is_de_vs? "yes":"no", + result->is_de_vs && result->beta_compliance? "(beta)":""); printf ("MIME flag ..........: %s\n", result->is_mime? "yes":"no"); printf ("Unsupported algo ...: %s\n", nonnull(result->unsupported_algorithm)); printf ("Session key ........: %s\n", nonnull (result->session_key)); -- cgit v1.2.3