]> git.notmuchmail.org Git - notmuch/commit
crypto: refactor context creation to facilitate further work
authorJani Nikula <jani@nikula.org>
Mon, 14 Dec 2015 13:38:50 +0000 (09:38 -0400)
committerDavid Bremner <david@tethera.net>
Wed, 30 Dec 2015 15:28:30 +0000 (11:28 -0400)
commit4419069472195615ad856c6d46c82f2beb33202f
tree1cb7fca237791259178d2b8cbb6e97bff9893113
parenta9fec12a0804113596c927d45f627f8b874aab67
crypto: refactor context creation to facilitate further work

Let the context creation functions decide how to handle multiple calls
and cache the crypto context. No functional changes.
crypto.c