diff options
Diffstat (limited to '')
-rw-r--r-- | src/signers.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/signers.c b/src/signers.c index 9eb4e4e7..021a878d 100644 --- a/src/signers.c +++ b/src/signers.c @@ -36,12 +36,10 @@ /* Delete all signers from CTX. */ void -gpgme_signers_clear (gpgme_ctx_t ctx) +_gpgme_signers_clear (gpgme_ctx_t ctx) { unsigned int i; - TRACE (DEBUG_CTX, "gpgme_signers_clear", ctx); - if (!ctx || !ctx->signers) return; @@ -54,6 +52,15 @@ gpgme_signers_clear (gpgme_ctx_t ctx) ctx->signers_len = 0; } + +void +gpgme_signers_clear (gpgme_ctx_t ctx) +{ + TRACE (DEBUG_CTX, "gpgme_signers_clear", ctx); + return _gpgme_signers_clear (ctx); +} + + /* Add KEY to list of signers in CTX. */ gpgme_error_t gpgme_signers_add (gpgme_ctx_t ctx, const gpgme_key_t key) |