]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
rnd: removed call of _rnd_system_entropy_deinit on deinit
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Sat, 18 Feb 2017 20:47:33 +0000 (21:47 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 6 Mar 2017 21:24:33 +0000 (22:24 +0100)
This was already being done in _gnutls_rnd_deinit().

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
lib/nettle/rnd.c

index d72b910d3aa8fc24af88a579efab650c056647b7..7b0f0f682f3ebf7404866882fe59d24527bb56a5 100644 (file)
@@ -144,7 +144,6 @@ static int do_device_source(struct rnd_ctx_st *ctx, int init, struct event_st *e
 static void wrap_nettle_rnd_deinit(void *_ctx)
 {
        struct ext_ctx_st *ctx = _ctx;
-       _rnd_system_entropy_deinit();
        gnutls_free(ctx);
 }