aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert/cvc/ecdsa_sig.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-12-13 21:56:41 +0000
committerlloyd <[email protected]>2010-12-13 21:56:41 +0000
commit64272438aad858bdf4fc93cd94e0a20093c0191f (patch)
tree534ec5c19df5104de7d62aab024c48007b37799e /src/cert/cvc/ecdsa_sig.cpp
parentd5af39b6306086baa4159a18ad833b1c3e1e573b (diff)
Fix some VC warnings under 64 bit compiles
Diffstat (limited to 'src/cert/cvc/ecdsa_sig.cpp')
-rw-r--r--src/cert/cvc/ecdsa_sig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cert/cvc/ecdsa_sig.cpp b/src/cert/cvc/ecdsa_sig.cpp
index 1b3940250..e8fd7f051 100644
--- a/src/cert/cvc/ecdsa_sig.cpp
+++ b/src/cert/cvc/ecdsa_sig.cpp
@@ -48,7 +48,7 @@ ECDSA_Signature decode_concatenation(const MemoryRegion<byte>& concat)
if(concat.size() % 2 != 0)
throw Invalid_Argument("Erroneous length of signature");
- const u32bit rs_len = concat.size() / 2;
+ const size_t rs_len = concat.size() / 2;
BigInt r = BigInt::decode(&concat[0], rs_len);
BigInt s = BigInt::decode(&concat[rs_len], rs_len);