From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 0F0666DE13BA for ; Mon, 6 May 2019 12:45:58 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.158 X-Spam-Level: X-Spam-Status: No, score=-0.158 tagged_above=-999 required=5 tests=[AWL=0.043, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TXSjX5_Dq9-G for ; Mon, 6 May 2019 12:45:56 -0700 (PDT) Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) by arlo.cworth.org (Postfix) with ESMTPS id C26AD6DE138C for ; Mon, 6 May 2019 12:45:56 -0700 (PDT) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019; t=1557171955; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=g9qRhTO0hW5YnQ8iny6RUK2MYgDGgKd737oU7YFniIE=; b=JxCJF5dfDLI2HZjT/M6xfdUCLNqMYp1jy6yYIaaQ3bIV1zj8RJS2tCZa rfc+5BN4n5J0Gfb/G+cGblfa8HWcCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fifthhorseman.net; i=@fifthhorseman.net; q=dns/txt; s=2019rsa; t=1557171955; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding : from; bh=g9qRhTO0hW5YnQ8iny6RUK2MYgDGgKd737oU7YFniIE=; b=Rc7AYjNcjACbcRu2xVh6Ffg/ROOcKqqj5Vo3WGph561B18+HiaCxd1sH XrdS/67xlYPV8nHYkorwjiqE+PzYpiDHr3+tBHEj3LocZbEHWTBf9Qz1Qe MpYJxc9zzdCNZmlipRGg2uOYwF9Q7ZoaNgDsYlxk1bpnv0hF787q8V+BNU no4Nhve5AVTH0WCW33fjBK8oDimn8qI4eLxnTS83XypwAFDDipakN3Zch/ /DA7YKri7BoCSQ1CnESF88A7kZtueUX1j8ptm4duIMB2WTDZIJfH+xCrVv cv6X+sLcugepEgJf/aPDqa7jHBcOoSfk/A+yH7w/3qyHqL05aqQnbw== Received: from fifthhorseman.net (unknown [38.109.115.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by che.mayfirst.org (Postfix) with ESMTPSA id 64A36F99D for ; Mon, 6 May 2019 15:45:54 -0400 (EDT) Received: by fifthhorseman.net (Postfix, from userid 1000) id BF2F2201E0; Mon, 6 May 2019 15:45:51 -0400 (EDT) From: Daniel Kahn Gillmor To: Notmuch Mail Subject: [PATCH] util/crypto: improve comment Date: Mon, 6 May 2019 15:45:51 -0400 Message-Id: <20190506194551.32091-1-dkg@fifthhorseman.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 May 2019 19:45:58 -0000 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 --- 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