aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_time.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-01-18 15:21:47 -0500
committerJack Lloyd <[email protected]>2018-01-18 15:21:47 -0500
commit915e840bd0f77d8c2cd526a5d26a88621708f6ca (patch)
treefa93421e12d31f92e55f50f115f3badd29960669 /src/lib/asn1/asn1_time.cpp
parente7b9733171835e0a91155589318fdd08b1c68113 (diff)
Prepare for making BER_Object members private
Now there are usable accessors that allow the library to avoid using BER_Object members directly.
Diffstat (limited to 'src/lib/asn1/asn1_time.cpp')
-rw-r--r--src/lib/asn1/asn1_time.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/asn1/asn1_time.cpp b/src/lib/asn1/asn1_time.cpp
index aca7fdca0..e64fd57c7 100644
--- a/src/lib/asn1/asn1_time.cpp
+++ b/src/lib/asn1/asn1_time.cpp
@@ -47,7 +47,7 @@ void X509_Time::decode_from(BER_Decoder& source)
{
BER_Object ber_time = source.get_next_object();
- set_to(ASN1::to_string(ber_time), ber_time.type_tag);
+ set_to(ASN1::to_string(ber_time), ber_time.type());
}
std::string X509_Time::to_string() const