aboutsummaryrefslogtreecommitdiffstats
path: root/src/cert
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-29 13:31:36 +0000
committerlloyd <[email protected]>2010-06-29 13:31:36 +0000
commit50a3fbc9fffbb9a6d9b7940f519726f71067503d (patch)
tree984384488d69614bf8e3ed2bef218b2c43284cfe /src/cert
parente25bbc9b8ff24931b34507a10fe08fe3dd592b17 (diff)
Make round_up and round_down templates instead of fixed to use u32bits
Diffstat (limited to 'src/cert')
-rw-r--r--src/cert/cvc/asn1_eac_tm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cert/cvc/asn1_eac_tm.cpp b/src/cert/cvc/asn1_eac_tm.cpp
index 51b9c7513..b048d3aa5 100644
--- a/src/cert/cvc/asn1_eac_tm.cpp
+++ b/src/cert/cvc/asn1_eac_tm.cpp
@@ -26,7 +26,7 @@ SecureVector<byte> enc_two_digit(u32bit in)
result.append(0x00);
else
{
- u32bit y_first_pos = round_down(in, 10) / 10;
+ u32bit y_first_pos = round_down<u32bit>(in, 10) / 10;
result.append(static_cast<byte>(y_first_pos));
}