mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-30 16:17:02 +01:00
gpg: Start using OCB mode by default with Libgcrypt 1.9.
* g10/main.h (GCRYPT_VERSION_NUMBER): Fix type in condition. -- GnuPG-bug-id: 4259 Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
c8f79cec74
commit
1e700961dd
@ -41,7 +41,9 @@
|
||||
# define DEFAULT_CIPHER_ALGO CIPHER_ALGO_3DES
|
||||
#endif
|
||||
|
||||
#if GCRYPT_VERSION_NUMBER < 0x019000
|
||||
/* We will start using OCB mode by default only if the yet to be
|
||||
* released libgcrypt 1.9 is used. */
|
||||
#if GCRYPT_VERSION_NUMBER < 0x010900
|
||||
# define DEFAULT_AEAD_ALGO AEAD_ALGO_OCB
|
||||
#else
|
||||
# define DEFAULT_AEAD_ALGO AEAD_ALGO_EAX
|
||||
|
Loading…
x
Reference in New Issue
Block a user