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

Unified Diff: firmware/lib/cryptolib/include/rsa.h

Issue 2851015: Fixes to compiler warnings in MSVC (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Also fix gpt numbering bug Created 10 years, 6 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
Index: firmware/lib/cryptolib/include/rsa.h
diff --git a/firmware/lib/cryptolib/include/rsa.h b/firmware/lib/cryptolib/include/rsa.h
index 2d3ee95599771e3ba20a56f7bafe00ea07fcc122..b6a83a13d9b1f221077d13d496062ddbe64a01ac 100644
--- a/firmware/lib/cryptolib/include/rsa.h
+++ b/firmware/lib/cryptolib/include/rsa.h
@@ -35,7 +35,7 @@ typedef struct RSAPublicKey {
*/
int RSAVerify(const RSAPublicKey *key,
const uint8_t* sig,
- const int sig_len,
+ const uint32_t sig_len,
const uint8_t sig_type,
const uint8_t* hash);

Powered by Google App Engine
This is Rietveld 408576698