diff options
| author | Werner Koch <[email protected]> | 2025-09-03 14:11:25 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2025-09-03 14:11:25 +0000 |
| commit | a73c88817ce2dc05d4eefc2a8f31b89504523a9a (patch) | |
| tree | f63ff5910cf65f664769eea67a6202a3ac163c6b /dirmngr/ks-engine-ldap.c | |
| parent | Post release updates (diff) | |
| download | gnupg-a73c88817ce2dc05d4eefc2a8f31b89504523a9a.tar.gz gnupg-a73c88817ce2dc05d4eefc2a8f31b89504523a9a.zip | |
gpg: Make OCB mode compliant in de-vs mode.
* common/compliance.c (gnupg_cipher_is_compliant): Support OCB for
gpg.
(gnupg_cipher_is_allowed): Ditto.
* g10/mainproc.c (proc_encrypted): Determine cipher mode and pass it
for the is_compliant test.
--
This patch also switches from just assuming CFB mode to passing the
correct mode to gnupg_cipher_is_compliant. Except for the legacy EAX
mode we only have these two modes and thus it does not really matter.
But correcting this is more future proof.
This was found while fixing
GnuPG-bug-id: 7804
Diffstat (limited to 'dirmngr/ks-engine-ldap.c')
0 files changed, 0 insertions, 0 deletions
