aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_time.cpp
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-08-08 18:53:45 +0200
committerSimon Warta <[email protected]>2015-08-11 10:50:14 +0200
commitee415570876d8d91e99bab7dc7a14209419a93af (patch)
treebf53d44ab4f7c7a8e68787e963a0edaabcb0ded4 /src/lib/asn1/asn1_time.cpp
parentb2d31e4bc77c9bb707bdf5ad3f76882a07134721 (diff)
Explicitly fwd declase classes BER_Decoder, DER_Encoder
Diffstat (limited to 'src/lib/asn1/asn1_time.cpp')
-rw-r--r--src/lib/asn1/asn1_time.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/asn1/asn1_time.cpp b/src/lib/asn1/asn1_time.cpp
index f6aceeefb..381a21b2d 100644
--- a/src/lib/asn1/asn1_time.cpp
+++ b/src/lib/asn1/asn1_time.cpp
@@ -35,11 +35,6 @@ X509_Time::X509_Time(const std::string& t_spec, ASN1_Tag tag)
set_to(t_spec, tag);
}
-
-
-/*
-* DER encode a X509_Time
-*/
void X509_Time::encode_into(DER_Encoder& der) const
{
if(m_tag != GENERALIZED_TIME && m_tag != UTC_TIME)
@@ -51,9 +46,6 @@ void X509_Time::encode_into(DER_Encoder& der) const
LATIN1_CHARSET));
}
-/*
-* Decode a BER encoded X509_Time
-*/
void X509_Time::decode_from(BER_Decoder& source)
{
BER_Object ber_time = source.get_next_object();