diff options
author | lloyd <[email protected]> | 2006-06-23 06:53:56 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-23 06:53:56 +0000 |
commit | aa0b566aa76b0105e256bbf788ce7a71ea1f60e3 (patch) | |
tree | 74d5f6a22a13fa4c8002b1dbd45e86c13ea2100e /src/x509_ca.cpp | |
parent | 4248def7fa3a7ef45e27b971e83a383ada68031a (diff) |
Use accessor functions for CRL_Entry, instead of having public data
Diffstat (limited to 'src/x509_ca.cpp')
-rw-r--r-- | src/x509_ca.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/x509_ca.cpp b/src/x509_ca.cpp index 1799de4f6..f5893734c 100644 --- a/src/x509_ca.cpp +++ b/src/x509_ca.cpp @@ -195,8 +195,8 @@ X509_CRL X509_CA::update_crl(const X509_CRL& crl, std::set<SecureVector<byte> > removed_from_crl; for(u32bit j = 0; j != new_revoked.size(); ++j) { - if(new_revoked[j].reason == DELETE_CRL_ENTRY) - removed_from_crl.insert(new_revoked[j].serial); + if(new_revoked[j].reason_code() == DELETE_CRL_ENTRY) + removed_from_crl.insert(new_revoked[j].serial_number()); else all_revoked.push_back(new_revoked[j]); } @@ -204,7 +204,7 @@ X509_CRL X509_CA::update_crl(const X509_CRL& crl, for(u32bit j = 0; j != already_revoked.size(); ++j) { std::set<SecureVector<byte> >::const_iterator i; - i = removed_from_crl.find(already_revoked[j].serial); + i = removed_from_crl.find(already_revoked[j].serial_number()); if(i == removed_from_crl.end()) all_revoked.push_back(already_revoked[j]); |