diff options
Diffstat (limited to 'g10/pubkey-enc.c')
-rw-r--r-- | g10/pubkey-enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/pubkey-enc.c b/g10/pubkey-enc.c index aa848a2cb..e6cbec4a0 100644 --- a/g10/pubkey-enc.c +++ b/g10/pubkey-enc.c @@ -87,7 +87,7 @@ pk_decrypt( int algo, MPI *result, MPI *data, MPI *skey ) if( rc ) return rc; - *result = gcry_sexp_car_mpi( s_plain, 0 ); + *result = gcry_sexp_nth_mpi( s_plain, 0, 0 ); gcry_sexp_release( s_plain ); if( !*result ) return -1; /* oops */ |