pgp_gpg.c : fixed wrong mode when exporting secret key keysync
authorEdouard Tisserant <edouard@pep-project.org>
Wed, 14 Sep 2016 19:53:04 +0200
branchkeysync
changeset 11635d54f358c636
parent 1162 f8db5c47b7f3
child 1165 05c831cfab65
pgp_gpg.c : fixed wrong mode when exporting secret key
src/pgp_gpg.c
     1.1 --- a/src/pgp_gpg.c	Wed Sep 14 17:20:02 2016 +0200
     1.2 +++ b/src/pgp_gpg.c	Wed Sep 14 19:53:04 2016 +0200
     1.3 @@ -1185,7 +1185,7 @@
     1.4  
     1.5      if (secret)
     1.6          gpgme_error = gpg.gpgme_op_export(session->ctx, fpr,
     1.7 -            GPGME_EXPORT_MODE_EXTERN, dh);
     1.8 +            GPGME_EXPORT_MODE_SECRET, dh);
     1.9      else
    1.10          gpgme_error = gpg.gpgme_op_export(session->ctx, fpr,
    1.11              GPGME_EXPORT_MODE_MINIMAL, dh);