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

Unified Diff: host/include/file_keys.h

Issue 3136017: Add additional sanity checks to RSA verification code. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: Created 10 years, 4 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 | « firmware/version.c ('k') | host/include/signature_digest.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: host/include/file_keys.h
diff --git a/host/include/file_keys.h b/host/include/file_keys.h
index 285a3e5b456c74fd1f22493870348f0a45d4a567..39fdc5acb1e9d7a4d7a538a1aabe0b15367ab89d 100644
--- a/host/include/file_keys.h
+++ b/host/include/file_keys.h
@@ -38,6 +38,6 @@ uint8_t* DigestFile(char* input_file, int sig_algorithm);
* Returns the signature. Caller owns the buffer and must Free() it.
*/
uint8_t* SignatureFile(const char* input_file, const char* key_file,
- int algorithm);
+ unsigned int algorithm);
#endif /* VBOOT_REFERENCE_FILE_KEYS_H_ */
« no previous file with comments | « firmware/version.c ('k') | host/include/signature_digest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698