diff options
-rw-r--r-- | agent/command-ssh.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c index eaf92aaf3..4c6671f7a 100644 --- a/agent/command-ssh.c +++ b/agent/command-ssh.c @@ -1975,9 +1975,7 @@ ssh_key_to_blob (gcry_sexp_t sexp, int with_secret, { gcry_mpi_t mpi; - /* Note that we need to use STD format; i.e. prepend a 0x00 - to indicate a positive number if the high bit is set. */ - mpi = gcry_sexp_nth_mpi (value_pair, 1, GCRYMPI_FMT_STD); + mpi = gcry_sexp_nth_mpi (value_pair, 1, GCRYMPI_FMT_USG); if (!mpi) { err = gpg_error (GPG_ERR_INV_SEXP); |