From: <sba...@us...> - 2023-06-11 19:43:11
|
This is an automated email from the git hooks/post-receive-user script. sbaldovi pushed a commit to branch master in repository libspectrum. View the commit online: https://sourceforge.net/p/fuse-emulator/libspectrum/ci/6510b05823d1468140f6a9ed8e353c9d3a823f44/ commit 6510b05823d1468140f6a9ed8e353c9d3a823f44 Author: Sergio Baldoví <ser...@gm...> AuthorDate: Sun Jun 11 21:42:04 2023 +0200 Fix RZX recording in competition mode libgcrypt since version 1.5 neeed to use unsigned format for gcry_sexp_nth_mpi() (bug #485) (thanks, crem). --- crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto.c b/crypto.c index 580a6cb..0441e2b 100644 --- a/crypto.c +++ b/crypto.c @@ -232,7 +232,7 @@ get_mpi( gcry_mpi_t *mpi, gcry_sexp_t sexp, const char *token ) return LIBSPECTRUM_ERROR_LOGIC; } - *mpi = gcry_sexp_nth_mpi( pair, 1, GCRYMPI_FMT_STD ); + *mpi = gcry_sexp_nth_mpi( pair, 1, GCRYMPI_FMT_USG ); if( !(*mpi) ) { libspectrum_print_error( LIBSPECTRUM_ERROR_LOGIC, "get_mpis: couldn't create MPI '%s'", token ); |