gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GnuTLS 2.4.1 with libgcrypt 1.4.2


From: Ludovic Courtès
Subject: GnuTLS 2.4.1 with libgcrypt 1.4.2
Date: Tue, 09 Sep 2008 16:30:59 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Hello,

GnuTLS 2.4.1's `openssl' test fails with libgcrypt 1.4.2:

  Program received signal SIGSEGV, Segmentation fault.
  gc_hash_write (handle=0x0, len=3, data=0x8049042 "abc") at gc-libgcrypt.c:431
  431       if (ctx->alg == GC_MD2)
  (gdb) bt
  #0  gc_hash_write (handle=0x0, len=3, data=0x8049042 "abc") at 
gc-libgcrypt.c:431
  #1  0xb7ef474d in MD5_Update (ctx=0xbff38988, buf=0x8049042, len=3) at 
gnutls_openssl.c:1011
  #2  0x080489c7 in doit () at openssl.c:43
  #3  0x08048b25 in main (argc=1, argv=0xbff38a84) at utils.c:148

The root of the problem is this:

  (gdb) p gc_hash_open (GC_MD5, 0, &ctx->handle)
  $3 = GC_INVALID_HASH

... despite the fact that `libgcrypt-config --algorithms' does list MD5.

Any idea?

Thanks,
Ludo'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]