summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2f51437)
The manual says: If you use this function to parse results of
a public key function, you most likely want to use `GCRYMPI_FMT_USG'.
if (!out_a)
goto out_release;
/* convert sexp out_a -> out_mpi */
if (!out_a)
goto out_release;
/* convert sexp out_a -> out_mpi */
- out_mpi = gcry_sexp_nth_mpi(out_a, 1, GCRYMPI_FMT_STD);
+ out_mpi = gcry_sexp_nth_mpi(out_a, 1, GCRYMPI_FMT_USG);
if (!out_mpi) {
ret = -E_SEXP_FIND;
goto out_a_release;
if (!out_mpi) {
ret = -E_SEXP_FIND;
goto out_a_release;