diff options
author | wtc%google.com <devnull@localhost> | 2008-06-04 01:27:36 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2008-06-04 01:27:36 +0000 |
commit | 26748f9fdba065b163fc8cd412508b91d7ca1bd7 (patch) | |
tree | 2d5787f64cb90f3627e53f2e41045be47e2fe863 /security | |
parent | 33f0d6dc6bce57d8d4d2c7b55b8122049a491679 (diff) | |
download | nss-hg-26748f9fdba065b163fc8cd412508b91d7ca1bd7.tar.gz |
Bug 434187: fixed a MSVC compiler warning about signed/unsigned comparison.
r=nelson
Diffstat (limited to 'security')
-rw-r--r-- | security/nss/lib/ssl/derive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/ssl/derive.c b/security/nss/lib/ssl/derive.c index 041a66fa5..f0bed8cf7 100644 --- a/security/nss/lib/ssl/derive.c +++ b/security/nss/lib/ssl/derive.c @@ -196,7 +196,7 @@ ssl3_KeyAndMacDeriveBypass( * ServerHello.random + ClientHello.random)) + * [...]; */ - int made = 0; + unsigned int made = 0; for (i = 0; made < block_needed && i < NUM_MIXERS; ++i) { unsigned int outLen; unsigned char sha_out[SHA1_LENGTH]; @@ -488,7 +488,7 @@ ssl3_MasterKeyDeriveBypass( } } else { int i; - int made = 0; + unsigned int made = 0; for (i = 0; i < 3; i++) { unsigned int outLen; unsigned char sha_out[SHA1_LENGTH]; |