From c8c86f25fd733136feb013f9b9eb829a24040b5b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 21 Nov 2024 09:52:46 +0100 Subject: [PATCH] gpg: Add the AEAD algo number to the DECRYPTION_INFO status line. * g10/decrypt-data.c (decrypt_data): Print the aead_algo -- GnuPG-bug-id: 7398 --- NEWS | 2 ++ g10/decrypt-data.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 247474b50..835a8c76a 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ Noteworthy changes in version 2.2.46 (unreleased) ------------------------------------------------- + * gpg: Add the AEAD algo number to the DECRYPTION_INFO status line. + [T7398] Release-info: https://dev.gnupg.org/T7314 diff --git a/g10/decrypt-data.c b/g10/decrypt-data.c index 4bb2b7e80..5d250bfdb 100644 --- a/g10/decrypt-data.c +++ b/g10/decrypt-data.c @@ -282,7 +282,7 @@ decrypt_data (ctrl_t ctrl, void *procctx, PKT_encrypted *ed, DEK *dek, } write_status_printf (STATUS_DECRYPTION_INFO, "%d %d %d", - ed->mdc_method, dek->algo, 0); + ed->mdc_method, dek->algo, ed->aead_algo); if (opt.show_session_key) {