[PATCH] util/crypto: improve comment

Subject: [PATCH] util/crypto: improve comment

Date: Mon, 6 May 2019 15:45:51 -0400

To: Notmuch Mail

Cc:

From: Daniel Kahn Gillmor


The comment line here lingers from when we were using some fancy
version checking about session keys.  Correct it to match the current
state.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
---
 util/crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util/crypto.c b/util/crypto.c
index ba67d4f4..99104e78 100644
--- a/util/crypto.c
+++ b/util/crypto.c
@@ -40,7 +40,7 @@ _notmuch_crypto_decrypt (bool *attempted,
     if (decrypt == NOTMUCH_DECRYPT_FALSE)
 	return NULL;
 
-    /* the versions of notmuch that can support session key decryption */
+    /* try decryption with session key if one is stashed */
     if (message) {
 	notmuch_message_properties_t *list = NULL;
 
-- 
2.20.1

_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: