summaryrefslogtreecommitdiffstats
path: root/cryptglue.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2020-03-31 16:19:00 -0700
committerKevin McCarthy <kevin@8t8.us>2020-03-31 16:19:00 -0700
commit0e71d0eec8622641da9a8afe8c8d341f807fc085 (patch)
tree9ff556536195874d5354a032642de674b9484360 /cryptglue.c
parenta9451f9d5fd0d47ec6c1efa4c011d5ab9f9a16f3 (diff)
Create crypt glue cleanup method.
Create stub classic smime and cleanup functions, which will be used in the next commit.
Diffstat (limited to 'cryptglue.c')
-rw-r--r--cryptglue.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/cryptglue.c b/cryptglue.c
index 9764e599..7b126fd3 100644
--- a/cryptglue.c
+++ b/cryptglue.c
@@ -107,6 +107,15 @@ void crypt_init (void)
#endif
}
+void crypt_cleanup (void)
+{
+ if (CRYPT_MOD_CALL_CHECK (PGP, cleanup))
+ (CRYPT_MOD_CALL (PGP, cleanup)) ();
+
+ if (CRYPT_MOD_CALL_CHECK (SMIME, cleanup))
+ (CRYPT_MOD_CALL (SMIME, cleanup)) ();
+}
+
/* Show a message that a backend will be invoked. */
void crypt_invoke_message (int type)