aboutsummaryrefslogtreecommitdiffstats
path: root/src/x509_crl.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-02-15 07:31:57 +0000
committerlloyd <[email protected]>2007-02-15 07:31:57 +0000
commitdea2e28415d18ad98d0dc06fa1d635ba1025ffb2 (patch)
tree84a95b0481faaf17e825bdfe8b3e9ac148e4ca31 /src/x509_crl.cpp
parentd871d0086e39fc1606a8fc8534c1a86fadd241da (diff)
Improve readability slightly in the code handling CRL decoding.
Diffstat (limited to 'src/x509_crl.cpp')
-rw-r--r--src/x509_crl.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/x509_crl.cpp b/src/x509_crl.cpp
index 3a8c4ec68..86c3c8623 100644
--- a/src/x509_crl.cpp
+++ b/src/x509_crl.cpp
@@ -50,13 +50,11 @@ void X509_CRL::force_decode()
throw X509_CRL_Error("Algorithm identifier mismatch");
X509_DN dn_issuer;
- X509_Time start, end;
-
tbs_crl.decode(dn_issuer);
- tbs_crl.decode(start);
- tbs_crl.decode(end);
-
info.add(dn_issuer.contents());
+
+ X509_Time start, end;
+ tbs_crl.decode(start).decode(end);
info.add("X509.CRL.start", start.readable_string());
info.add("X509.CRL.end", end.readable_string());