agent: Fix export of RSA keys to OpenPGP.
authorWerner Koch <wk@gnupg.org>
Wed, 25 Jun 2014 18:25:28 +0000 (20:25 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 26 Jun 2014 15:07:50 +0000 (17:07 +0200)
* agent/cvt-openpgp.c (convert_transfer_key): Fix sexp build format
string.

agent/cvt-openpgp.c

index 1b4c9d5..58327c6 100644 (file)
@@ -192,7 +192,7 @@ convert_transfer_key (gcry_sexp_t *r_key, int pubkey_algo, gcry_mpi_t *skey,
     case GCRY_PK_RSA:
       err = gcry_sexp_build
         (&s_skey, NULL,
-         "(protected-private-key(rsa(n%m)(e%m)",
+         "(protected-private-key(rsa(n%m)(e%m)"
          "(protected openpgp-native%S)))",
          skey[0], skey[1], transfer_key );
       break;