aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-08-22 20:56:11 -0400
committerJack Lloyd <[email protected]>2015-08-22 20:56:11 -0400
commit04f422d744c4f6db7881f9e2d7caf7c6fc6dcd82 (patch)
tree4313b5c7b5e1786496d9aa65e0fb56086b9c097d /src/lib
parentce1200d78ae30512149f720943c7194af78cef4b (diff)
Remove high bit set char from comment as it broke amalgamation generation
under Python3. Ironically there doesn't seem to be any way to portably handle non-ASCII in a way that is compatible with Python 2.7 and 3 at the same time.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/asn1/asn1_time.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/lib/asn1/asn1_time.cpp b/src/lib/asn1/asn1_time.cpp
index b7cf589a2..a9dffa95c 100644
--- a/src/lib/asn1/asn1_time.cpp
+++ b/src/lib/asn1/asn1_time.cpp
@@ -234,13 +234,17 @@ bool X509_Time::passes_sanity_check() const
if (m_tag == UTC_TIME)
{
- // UTCTime limits the value of components such that leap seconds are not covered.
- // See "UNIVERSAL 23" in "Information technology – Abstract Syntax Notation One (ASN.1): Specification of basic notation"
- // http://www.itu.int/ITU-T/studygroups/com17/languages/
+ /*
+ UTCTime limits the value of components such that leap seconds
+ are not covered. See "UNIVERSAL 23" in "Information technology
+ Abstract Syntax Notation One (ASN.1): Specification of basic notation"
+
+ http://www.itu.int/ITU-T/studygroups/com17/languages/
+ */
if (m_hour > 23 || m_minute > 59 || m_second > 59)
{
return false;
- }
+ }
}
return true;