mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* encrypt.c (init_dek): Use gry_create_nonce for the IV; there is
not need for real strong random here and it even better protect the random bits used for the key.
This commit is contained in:
parent
f18d0e557c
commit
d0fbe288b2
5 changed files with 12 additions and 6 deletions
|
@ -49,7 +49,7 @@ struct server_local_s {
|
|||
|
||||
|
||||
|
||||
/* note, that it is sufficient to allocate the target string D as
|
||||
/* Note that it is sufficient to allocate the target string D as
|
||||
long as the source string S, i.e.: strlen(s)+1; */
|
||||
static void
|
||||
strcpy_escaped_plus (char *d, const unsigned char *s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue