help-gnutls
[Top][All Lists]
Advanced

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

[Help-gnutls] Re: "operation is not possible without initialized secure


From: Simon Josefsson
Subject: [Help-gnutls] Re: "operation is not possible without initialized secure memory"
Date: Tue, 21 Nov 2006 12:50:29 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.90 (gnu/linux)

John Brooks <address@hidden> writes:

> I use GnuTLS in an application (ircd) frequently, and this code has
> been running flawlessly on many systems so far - this particular one,
> it seems to break on, and as far as I can tell that is not the fault
> of the system itself.
>
> When generating DH params (gnutls_dh_params_generate2), I get a
> message printed to stderr and then the application exits (code 2):
>
> operation is not possible without initialized secure memory

That is a libgcrypt error message.  Could it be that you invoke
gnutls_dh_params_generate2 before gnutls_global_init?

Alternatively, it may be that libgcrypt somehow is initialized before
gnutls_global_init is invoked, and then GnuTLS cannot initialize
libgcrypt properly.  Do you link to any other library that may use
libgcrypt?

I wish that libgcrypt were more stateless..

/Simon




reply via email to

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