tests: Fix the Curve25519 test.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 21 Jun 2019 02:55:50 +0000 (11:55 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 21 Jun 2019 02:55:50 +0000 (11:55 +0900)
* tests/t-cv25519.c (test_cv_x25519): Initialize SCALAR.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
tests/t-cv25519.c

index 7c9839c..0de50a0 100644 (file)
@@ -243,7 +243,7 @@ test_cv_x25519 (int testno, const char *k_str, const char *u_str,
                 const char *result_str)
 {
   gpg_error_t err;
-  void *scalar;
+  void *scalar = NULL;
   void *point = NULL;
   size_t buflen;
   unsigned char result[32];