]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
corrected assignment
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 8 Oct 2014 09:47:49 +0000 (11:47 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 8 Oct 2014 09:48:06 +0000 (11:48 +0200)
lib/nettle/pk.c

index 1b610514a09783b9bc246e160f245589f4715887..90174210a9456b868bfe0af371f61e6a1fdd0ce7 100644 (file)
@@ -1086,7 +1086,7 @@ int _gnutls_ecdh_compute_key(gnutls_ecc_curve_t curve,
                goto cleanup;
        }
 
-       priv.params_nr = 2;
+       pub.params_nr = 2;
 
        if (_gnutls_mpi_init_scan_nz
                    (&priv.params[ECC_Y], y->data,