From dea2e28415d18ad98d0dc06fa1d635ba1025ffb2 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 15 Feb 2007 07:31:57 +0000 Subject: Improve readability slightly in the code handling CRL decoding. --- src/x509_crl.cpp | 8 +++----- 1 file 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()); -- cgit v1.2.3