1
0
Fork 0
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:
Werner Koch 2003-12-16 11:31:46 +00:00
parent f18d0e557c
commit d0fbe288b2
5 changed files with 12 additions and 6 deletions

View file

@ -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)