diff options
author | lloyd <[email protected]> | 2007-02-15 07:31:57 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-02-15 07:31:57 +0000 |
commit | dea2e28415d18ad98d0dc06fa1d635ba1025ffb2 (patch) | |
tree | 84a95b0481faaf17e825bdfe8b3e9ac148e4ca31 /src | |
parent | d871d0086e39fc1606a8fc8534c1a86fadd241da (diff) |
Improve readability slightly in the code handling CRL decoding.
Diffstat (limited to 'src')
-rw-r--r-- | src/x509_crl.cpp | 8 |
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()); |