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)
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 5820065301..c7b2c16eef 100644
--- a/src/util/crypto_rsa.c
+++ b/src/util/crypto_rsa.c
@@ -546,10 +546,8 @@ rsa_decode_key (const struct RsaPrivateKeyBinaryEncoded *encoding)
* files does not exist, create a new key and write it to the
* file. Caller must free return value. Note that this function
* can not guarantee that another process might not be trying
- * the same operation on the same file at the same time. The
- * caller must somehow know that the file either already exists
- * with a valid key OR be sure that no other process is calling
- * this function at the same time. If the contents of the file
+ * the same operation on the same file at the same time.
+ * If the contents of the file
* are invalid the old file is deleted and a fresh key is
* created.
*