diff options
author | lloyd <[email protected]> | 2008-10-08 21:08:06 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-08 21:08:06 +0000 |
commit | 832dfea7d8d664ee186f94213185c51047ea6cfa (patch) | |
tree | 392121f7bb1e4f3e84b5ae0aa395d88b87298065 /src/cert/cvc/asn1_eac_tm.cpp | |
parent | 0ffb4257258df236dc469ef086b1871fe7b5afba (diff) |
Fix further compilation errors. However some functionality is disabled since
ECDSA keys do not support the EAC serialization mechanism yet.
Diffstat (limited to 'src/cert/cvc/asn1_eac_tm.cpp')
-rw-r--r-- | src/cert/cvc/asn1_eac_tm.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/cert/cvc/asn1_eac_tm.cpp b/src/cert/cvc/asn1_eac_tm.cpp index 81c99f190..91688879c 100644 --- a/src/cert/cvc/asn1_eac_tm.cpp +++ b/src/cert/cvc/asn1_eac_tm.cpp @@ -265,22 +265,6 @@ bool operator<(const EAC_Time& t1, const EAC_Time& t2) } /************************************************* -* Do a validity check * -*************************************************/ -s32bit validity_check(const EAC_Time& start, const EAC_Time& end, - u64bit current_time) - { - - const s32bit NOT_YET_VALID = -1, VALID_TIME = 0, EXPIRED = 1; - - if (start.cmp(current_time) > 0) - return NOT_YET_VALID; - if (end.cmp(current_time) < 0) - return EXPIRED; - return VALID_TIME; - } - -/************************************************* * Decode a BER encoded EAC_Time * *************************************************/ void EAC_Time::decode_from(BER_Decoder& source) |