NewPG is now GnuPG 1.9
Werner Koch
wk at gnupg.org
Thu Aug 7 10:12:02 CEST 2003
On Wed, 06 Aug 2003 20:32:18 +0200, Simon Josefsson said:
> gpg2: pkglue.c:83: pk_sign: Assertion `list' failed.
> Aborted
I forgot something yesterday. Actually tested with a newly generated
RSA key.
--- g10/pkglue.c 5 Aug 2003 17:11:02 -0000 1.1.2.3
+++ g10/pkglue.c 7 Aug 2003 07:05:38 -0000 1.1.2.4
@@ -70,6 +77,14 @@
if (rc)
;
+ else if (algo == GCRY_PK_RSA)
+ {
+ list = gcry_sexp_find_token (s_sig, "s", 0);
+ assert (list);
+ data[0] = gcry_sexp_nth_mpi (list, 1, 0);
+ assert (data[0]);
+ gcry_sexp_release (list);
+ }
else
{
list = gcry_sexp_find_token (s_sig, "r", 0);
--
Werner Koch <wk at gnupg.org>
The GnuPG Experts http://g10code.com
Free Software Foundation Europe http://fsfeurope.org
More information about the Gnupg-devel
mailing list