Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(799)

Unified Diff: utility/signature_digest_utility.c

Issue 6334133: Add utility to pad a given hash for PKCS1.5 signatures (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: fix messages Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utility/pad_digest_utility.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/signature_digest_utility.c
diff --git a/utility/signature_digest_utility.c b/utility/signature_digest_utility.c
index 6c8891b9613057c99de566141df0ae379599e48b..bf23ebd52b2aa3891c760808fb257c5c3558c760 100644
--- a/utility/signature_digest_utility.c
+++ b/utility/signature_digest_utility.c
@@ -25,7 +25,7 @@ int main(int argc, char* argv[]) {
uint32_t signature_digest_len;
if (argc != 3) {
- fprintf(stderr, "Usage: %s <algoid> <file>", argv[0]);
+ fprintf(stderr, "Usage: %s <alg_id> <file>", argv[0]);
return -1;
}
algorithm = atoi(argv[1]);
@@ -36,7 +36,7 @@ int main(int argc, char* argv[]) {
buf = BufferFromFile(argv[2], &len);
if (!buf) {
- fprintf(stderr, "Could read file: %s\n", argv[2]);
+ fprintf(stderr, "Could not read file: %s\n", argv[2]);
return -1;
}
« no previous file with comments | « utility/pad_digest_utility.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698