aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_rsa.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-07-16 19:11:35 +0000
committerChristian Grothoff <christian@grothoff.org>2010-07-16 19:11:35 +0000
commit2eba86ef5f0496f32b99b2bcb668a3f7d0acffbc (patch)
tree88da3cf0c65948ccb6c96d6094d2504b930af42c /src/util/crypto_rsa.c
parent3519fc71001af482dcfeb34209d6c42cd126dbec (diff)
downloadgnunet-2eba86ef5f0496f32b99b2bcb668a3f7d0acffbc.tar.gz
gnunet-2eba86ef5f0496f32b99b2bcb668a3f7d0acffbc.zip
inline downloads
Diffstat (limited to 'src/util/crypto_rsa.c')
-rw-r--r--src/util/crypto_rsa.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c
index 582006530..c7b2c16ee 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -546,10 +546,8 @@ rsa_decode_key (const struct RsaPrivateKeyBinaryEncoded *encoding)
546 * files does not exist, create a new key and write it to the 546 * files does not exist, create a new key and write it to the
547 * file. Caller must free return value. Note that this function 547 * file. Caller must free return value. Note that this function
548 * can not guarantee that another process might not be trying 548 * can not guarantee that another process might not be trying
549 * the same operation on the same file at the same time. The 549 * the same operation on the same file at the same time.
550 * caller must somehow know that the file either already exists 550 * If the contents of the file
551 * with a valid key OR be sure that no other process is calling
552 * this function at the same time. If the contents of the file
553 * are invalid the old file is deleted and a fresh key is 551 * are invalid the old file is deleted and a fresh key is
554 * created. 552 * created.
555 * 553 *