gnutls-devel
[Top][All Lists]
Advanced

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

[gnutls-dev] Gnutls4Win: gnutls_global_init takes > 10 seconds


From: Tim Kosse
Subject: [gnutls-dev] Gnutls4Win: gnutls_global_init takes > 10 seconds
Date: Thu, 02 Nov 2006 13:26:26 +0100
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On my system (Windows XP SP2), calling gnutls_global_init takes over 10
seconds.

While analyzing this problem, I found out that it is caused by
libgcrypt. It's random number generator is extremely slow under Windows.

While searching for a solution, I found a patch from J. Salvatore Testa
on the this page: http://www.securitypunk.com/libgcrypt/

The patch enables libgcrypt to use Windows' own Crypto API. Replacing
the libgcrypt-11.dll from GnuTLS4Win with the one from that page solved
the problem for me, making gnutls_global_init almost instant.

Would it be possible to apply this patch to the next Gnutls4Win version?
Without, Gnutls4Win is almost unusable for me.

I'll also contact the libgcrypt developers to get this patch into libgcrypt.

Regards,
Tim Kosse
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFSePy8N9+lcqiUkURArcWAKDS485DoBrW5tPTWNBQE3pZEFxHxACgsXl7
Im7dWXPouqo/RxWgIjhpNzw=
=rz2b
-----END PGP SIGNATURE-----



reply via email to

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