Fix gpg_do_keygen.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 30 Oct 2017 06:01:17 +0000 (15:01 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 30 Oct 2017 06:01:17 +0000 (15:01 +0900)
src/openpgp-do.c

index 7c34bf4..bf77d9f 100644 (file)
@@ -2088,7 +2088,7 @@ gpg_do_keygen (uint8_t *buf)
   else if (attr == ALGO_NISTP256R1 || attr == ALGO_SECP256K1)
     {
       const uint8_t *p;
-      int i, r;
+      int i;
 
       rnd = NULL;
       do