]> the.earth.li Git - onak.git/blobdiff - sigcheck.c
Remove trailing newline on sigcheck debug output
[onak.git] / sigcheck.c
index 2f165bce0dd1e711bff108089ecc70781ca33595..cbc28b87ccfbeacaade0f5a2c88d2a76c1e5a788 100644 (file)
@@ -182,6 +182,7 @@ int check_packet_sighash(struct openpgp_publickey *key,
                }
                ripemd160_digest(&ripemd160_context, RIPEMD160_DIGEST_SIZE,
                        hash);
+               break;
 #else
                logthing(LOGTHING_INFO, "RIPEMD160 support not available.");
                return -1;
@@ -248,7 +249,7 @@ int check_packet_sighash(struct openpgp_publickey *key,
        }
 
        logthing(LOGTHING_DEBUG, "Hash type: %d, %d chunks, "
-               "calculated: %02X%02X / actual: %02X%02X\n",
+               "calculated: %02X%02X / actual: %02X%02X",
                hashtype, chunks,
                hash[0], hash[1], sighash[0], sighash[1]);