]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
no need to memset. It should have been initialized.
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 20 Nov 2013 18:18:31 +0000 (19:18 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 27 Nov 2013 10:41:43 +0000 (11:41 +0100)
lib/nettle/pk.c

index 765b2a60bd77792626dadfc168f182b837ad15e4..589f6e4dcd59d5d5521b6e3a1df951c0bc2a2e88 100644 (file)
@@ -671,7 +671,6 @@ wrap_nettle_pk_generate_params(gnutls_pk_algorithm_t algo,
        int ret;
        unsigned int i, q_bits;
 
-       memset(params, 0, sizeof(*params));
        params->algo = algo;
 
        switch (algo) {