Small tweak to the ECC debug output.
authorWerner Koch <wk@gnupg.org>
Fri, 11 Feb 2011 14:52:36 +0000 (15:52 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 11 Feb 2011 14:52:36 +0000 (15:52 +0100)
cipher/ecc.c
cipher/pubkey.c

index 6548fed..f809b53 100644 (file)
@@ -843,10 +843,10 @@ verify (gcry_mpi_t input, ECC_public_key *pkey, gcry_mpi_t r, gcry_mpi_t s)
     {
       if (DBG_CIPHER)
         {
-          log_mpidump ("   x", x);
-          log_mpidump ("   y", y);
-          log_mpidump ("   r", r);
-          log_mpidump ("   s", s);
+          log_mpidump ("     x", x);
+          log_mpidump ("     y", y);
+          log_mpidump ("     r", r);
+          log_mpidump ("     s", s);
           log_debug ("ecc verify: Not verified\n");
         }
       err = GPG_ERR_BAD_SIGNATURE;
index 1e30717..d4a93c7 100644 (file)
@@ -760,10 +760,10 @@ pubkey_verify (int algorithm, gcry_mpi_t hash, gcry_mpi_t *data,
     {
       log_debug ("pubkey_verify: algo=%d\n", algorithm);
       for (i = 0; i < pubkey_get_npkey (algorithm); i++)
-       log_mpidump ("  pkey:", pkey[i]);
+       log_mpidump ("  pkey", pkey[i]);
       for (i = 0; i < pubkey_get_nsig (algorithm); i++)
-       log_mpidump ("   sig:", data[i]);
-      log_mpidump ("  hash:", hash);
+       log_mpidump ("   sig", data[i]);
+      log_mpidump ("  hash", hash);
     }
 
   ath_mutex_lock (&pubkeys_registered_lock);