mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpg: Set the default digest algo for S2K to SHA256.
* g10/main.h (DEFAULT_S2K_DIGEST_ALGO): Alias to DEFAULT_DIGEST_ALGO. -- GnuPG-bug-id: 6367
This commit is contained in:
parent
56d309133f
commit
7bf57a794b
2 changed files with 9 additions and 3 deletions
|
@ -42,7 +42,7 @@
|
|||
#endif
|
||||
|
||||
#define DEFAULT_DIGEST_ALGO ((GNUPG)? DIGEST_ALGO_SHA256:DIGEST_ALGO_SHA1)
|
||||
#define DEFAULT_S2K_DIGEST_ALGO DIGEST_ALGO_SHA1
|
||||
#define DEFAULT_S2K_DIGEST_ALGO DEFAULT_DIGEST_ALGO
|
||||
#ifdef HAVE_ZIP
|
||||
# define DEFAULT_COMPRESS_ALGO COMPRESS_ALGO_ZIP
|
||||
#else
|
||||
|
@ -235,7 +235,7 @@ int cpr_get_answer_okay_cancel (const char *keyword,
|
|||
/*-- helptext.c --*/
|
||||
void display_online_help( const char *keyword );
|
||||
|
||||
/*-- encode.c --*/
|
||||
/*-- encrypt.c --*/
|
||||
gpg_error_t setup_symkey (STRING2KEY **symkey_s2k,DEK **symkey_dek);
|
||||
aead_algo_t use_aead (pk_list_t pk_list, int algo);
|
||||
int use_mdc (pk_list_t pk_list,int algo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue