new libgcrypt

Nikos Mavroyanopoulos
Wed, 6 Aug 2003 22:10:29 +0300

I just ported gnutls to the 1.1.42 version of libgcrypt.
It seems that it gets a segmentation fault at:

Program received signal SIGSEGV, Segmentation fault.
_gcry_module_release (module=0x0) at module.c:156
156       if (! --module->counter)

The part of code involved was not affected by the changes
for the new libgcrypt, so I suspect that other things changed
internally in the sexp stuff. The whole backtrace is:

#0  _gcry_module_release (module=0x0) at module.c:156
#1  0x400c7660 in sexp_to_enc (sexp=0x807ce48, retarray=0x400fb6c0,
    retalgo=0x400fb6c0, ret_modern=0xbfffeff8, ret_want_pkcs1=0xbfffeffc,
    flags=0x400fb6c0) at pubkey.c:1017
#2  0x400c87a3 in gcry_pk_decrypt (r_plain=0xbffff040, s_data=0x807ce48,
    s_skey=0x807d368) at pubkey.c:1439
#3  0x40038d8b in _gnutls_pk_decrypt (algo=1, resarr=0xbffff084,
    data=0x807afa0, pkey=0x807c148, pkey_len=6) at gnutls_pk.c:616

Nikos Mavroyanopoulos