From 5151dee536413c981810c905e8cf9a472cdb2705 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Thu, 24 May 2012 15:40:36 +1700 Subject: [PATCH] [PATCH v4 0/7] cli: improved crypto internals --- 42/7a9c4c3fd3a80dcc8fefa719b97f93e36e42f3 | 62 +++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 42/7a9c4c3fd3a80dcc8fefa719b97f93e36e42f3 diff --git a/42/7a9c4c3fd3a80dcc8fefa719b97f93e36e42f3 b/42/7a9c4c3fd3a80dcc8fefa719b97f93e36e42f3 new file mode 100644 index 000000000..559aa5e18 --- /dev/null +++ b/42/7a9c4c3fd3a80dcc8fefa719b97f93e36e42f3 @@ -0,0 +1,62 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id A1D52431FC9 + for ; Wed, 23 May 2012 15:40:50 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id HrEd8fjsnJpf for ; + Wed, 23 May 2012 15:40:48 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id A0931431FAF + for ; Wed, 23 May 2012 15:40:48 -0700 (PDT) +Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by earth-doxen-postvirus (Postfix) with ESMTP id 3A19866E0171 + for ; Wed, 23 May 2012 15:40:48 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new +Received: from finestructure.net (unknown [137.151.175.56]) + (Authenticated sender: jrollins) + by earth-doxen-submit (Postfix) with ESMTP id 4A2D466E0196 + for ; Wed, 23 May 2012 15:40:46 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id EEB441E1; Wed, 23 May 2012 15:40:45 -0700 (PDT) +From: Jameson Graef Rollins +To: Notmuch Mail +Subject: [PATCH v4 0/7] cli: improved crypto internals +Date: Wed, 23 May 2012 15:40:36 -0700 +Message-Id: <1337812843-14986-1-git-send-email-jrollins@finestructure.net> +X-Mailer: git-send-email 1.7.10 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Wed, 23 May 2012 22:40:50 -0000 + +Ok, hopefully last version. This addresses Jani's latest comments. + +The first patch uses a typedef to handle the incompatibility between +the crypto context between GMIME 2.4 and 2.6. We probably should have +done this originally, as it gets rid of a bunch of #ifdefs, and should +help reduce confusion. + +I also move to use strcasecmp for the crypto protocol, with a comment +that points to the relevant RFCs for justification. + +jamie. + -- 2.26.2