[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnutls-dev] Memory leeks?
From: |
Werner Koch |
Subject: |
Re: [gnutls-dev] Memory leeks? |
Date: |
Fri, 27 Aug 2004 21:49:17 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
On Fri, 27 Aug 2004 18:53:02 +0200, Simon Posnjak said:
> (generate_rdn_seq) doubles. So I think (and please correct me if I am
> wrong) that this still reachable memory is libgcypt global state or some
> thing like that - it would be nice if there would be a function to free
Correct. There is no way to tyerminate libgcrypt and reload it later
from the same process. Thread initialization must be done right at
the first start up and then we setup some global state - I doubt that
freeing all memory is really worth the effort - better terminate your
process
> this stuff. (I am on a embedded platform with 16 MB of RAM and every
> byte counts;).
You should be more worried on how to get enough entropy for the RNG; I
have once experimented with a Coldfire board and tehre is no clean
solution except for installing a unique random_seed file and hope for
the best.
Werner