aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pkglue.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/pkglue.c')
-rw-r--r--g10/pkglue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/pkglue.c b/g10/pkglue.c
index 27ee239a4..66ba48b60 100644
--- a/g10/pkglue.c
+++ b/g10/pkglue.c
@@ -220,8 +220,8 @@ pk_encrypt (int algo, gcry_mpi_t *resarr, gcry_mpi_t data,
gcry_mpi_t shared, public, result;
/* Get the shared point and the ephemeral public key. */
- shared = mpi_from_sexp (s_ciph, "a");
- public = mpi_from_sexp (s_ciph, "b");
+ shared = mpi_from_sexp (s_ciph, "s");
+ public = mpi_from_sexp (s_ciph, "e");
gcry_sexp_release (s_ciph);
s_ciph = NULL;
if (DBG_CIPHER)