diff options
author | Jameson Graef Rollins <jrollins@finestructure.net> | 2012-05-26 11:45:41 -0700 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-06-10 20:05:02 -0300 |
commit | e3be5afbad1bc7a10d9c38f2c2eb611f5ba3cccb (patch) | |
tree | 1948215aedf13b59e2193d8f0273218aeaf99afe /test/Makefile.local | |
parent | 25c3140e13698b147baedd99b2d6f8775c67de07 (diff) |
cli: new crypto structure to store crypto contexts and parameters, and functions to support it
This new structure, notmuch_crypto_t, keeps all relevant crypto
contexts and parameters together, and will make it easier to pass the
stuff around and clean it up. The name of the crypto context inside
this new struct will change, to reflect that it is actually a GPG
context, which is a sub type of Crypto context. There are other types
of Crypto contexts (Pkcs7 in particular, which we hope to support) so
we want to be clear.
The new crypto.c contains functions to return the proper context from
the struct for a given protocol (and initialize it if needed), and to
cleanup a struct by releasing the crypto contexts.
Diffstat (limited to 'test/Makefile.local')
0 files changed, 0 insertions, 0 deletions