gpgsm crashes on checking detached signature
Werner Koch
wk at gnupg.org
Fri Dec 19 09:12:20 CET 2003
On Thu, 18 Dec 2003 19:01:00 +0100, Albrecht Dreß said:
There seems to be a problem with the runtime linker:
> #0 gcry_md_info (h=0x0, cmd=35, buffer=0x2, nbytes=0x0) at md.c:1163
size_t is_enabled;
algoid = ksba_cms_get_digest_algo (cms, signer);
algo = gcry_md_map_name (algoid);
if (DBG_X509)
log_debug ("signer %d - digest algo: %d\n", signer, algo);
is_enabled = sizeof algo;
if ( gcry_md_info (data_md, GCRYCTL_IS_ALGO_ENABLED,
&algo, &is_enabled)
As you can see ALGO and IS_ENABLED are not passed correctly to
libgcrypt. There is a also a problem with DATA_MD.
Please do an "ldd gpgsm" to check whetehr the corrcet libraries are
used.
BTW, using "bt full" in gdb yields better information.
WErner
--
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