aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/encrypt.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2000-12-14 14:45:35 +0000
committerWerner Koch <[email protected]>2000-12-14 14:45:35 +0000
commit715cf2aed334c99edad44af8f0507b080056f6ce (patch)
tree4d536f2bfe5972695435da25e24b1f37702624ed /gpgme/encrypt.c
parentAdd a passphrase callback and minor changes to the interface (diff)
downloadgpgme-715cf2aed334c99edad44af8f0507b080056f6ce.tar.gz
gpgme-715cf2aed334c99edad44af8f0507b080056f6ce.zip
Add key import and export facility
Diffstat (limited to '')
-rw-r--r--gpgme/encrypt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gpgme/encrypt.c b/gpgme/encrypt.c
index 8307a24b..30704d23 100644
--- a/gpgme/encrypt.c
+++ b/gpgme/encrypt.c
@@ -57,6 +57,7 @@ gpgme_op_encrypt_start ( GpgmeCtx c, GpgmeRecipients recp,
}
/* create a process object */
+ _gpgme_gpg_release (c->gpg); c->gpg = NULL;
rc = _gpgme_gpg_new ( &c->gpg );
if (rc)
goto leave;
@@ -130,3 +131,6 @@ gpgme_op_encrypt ( GpgmeCtx c, GpgmeRecipients recp,
+
+
+