diff options
| author | Werner Koch <[email protected]> | 2026-04-23 14:29:53 +0200 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2026-04-23 14:29:53 +0200 |
| commit | 63f18298d3f5c5f7551301b1e183890c503c644a (patch) | |
| tree | 6f66b01d41bc7679272ac673e551cfef10d7357c /src/status-table.c | |
| parent | indent: Align a debug output. (diff) | |
| download | gpgme-63f18298d3f5c5f7551301b1e183890c503c644a.tar.gz gpgme-63f18298d3f5c5f7551301b1e183890c503c644a.zip | |
New decryption flag GPGME_DECRYPT_SESSION_HASH.
* src/gpgme.h.in (_gpgme_op_decrypt_result): Add field session_hash.
(gpgme_decrypt_flags_t): Add flag GPGME_DECRYPT_SESSION_HASH.
(gpgme_status_code_t): Add flags GPGME_STATUS_SESSION_HASH.
* src/status-table.c (status_table): Add "SESSION_HASH".
* src/decrypt.c (release_op_data): Free new field.
(_gpgme_decrypt_status_handler): Handle new status code.
* src/engine-gpg.c (gpg_decrypt): Implement
GPGME_DECRYPT_SESSION_HASH.
* tests/run-decrypt.c (print_result): Print session_hash.
(main): Add option --show-session-hash.
Diffstat (limited to 'src/status-table.c')
| -rw-r--r-- | src/status-table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/status-table.c b/src/status-table.c index 6b2e3396..1b94e101 100644 --- a/src/status-table.c +++ b/src/status-table.c @@ -118,6 +118,7 @@ static struct status_table_s status_table[] = { "RSA_OR_IDEA", GPGME_STATUS_RSA_OR_IDEA }, { "SC_OP_FAILURE", GPGME_STATUS_SC_OP_FAILURE }, { "SC_OP_SUCCESS", GPGME_STATUS_SC_OP_SUCCESS }, + { "SESSION_HASH", GPGME_STATUS_SESSION_HASH }, { "SESSION_KEY", GPGME_STATUS_SESSION_KEY }, { "SHM_GET", GPGME_STATUS_SHM_GET }, { "SHM_GET_BOOL", GPGME_STATUS_SHM_GET_BOOL }, |
