mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
agent: Fix export of RSA keys to OpenPGP.
* agent/cvt-openpgp.c (convert_transfer_key): Fix sexp build format string.
This commit is contained in:
parent
572502bd2c
commit
9a034acf8a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user