diff options
author | Werner Koch <[email protected]> | 2003-12-16 11:31:46 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-12-16 11:31:46 +0000 |
commit | d0fbe288b2c50d4b5a5bdf2271e964a5328a56a4 (patch) | |
tree | 1bf28c248f41aee819b6406ee92a2682391b4eb1 /sm/server.c | |
parent | * seckey-cert.c (protect_secret_key): Use gry_create_nonce for the (diff) | |
download | gnupg-d0fbe288b2c50d4b5a5bdf2271e964a5328a56a4.tar.gz gnupg-d0fbe288b2c50d4b5a5bdf2271e964a5328a56a4.zip |
* 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.
Diffstat (limited to 'sm/server.c')
-rw-r--r-- | sm/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/server.c b/sm/server.c index dda150964..20ba51301 100644 --- a/sm/server.c +++ b/sm/server.c @@ -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) |