diff options
author | lloyd <[email protected]> | 2006-06-19 09:51:03 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-19 09:51:03 +0000 |
commit | 7612c768e68202cfffbfdab2bc973b0f63bd0a03 (patch) | |
tree | 3b00287a609622cb2d0730413232718070958ae2 /src/x509_ext.cpp | |
parent | dad5f59194f8d153af423461c1fd20cebfc6661e (diff) |
Use preincrement instead of postincrement inside of some loops (mostly
for consistency with code that uses STL iterators, as these were mostly
integer operations, though with one exception).
Diffstat (limited to 'src/x509_ext.cpp')
-rw-r--r-- | src/x509_ext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/x509_ext.cpp b/src/x509_ext.cpp index 38d2fbabb..52bfca553 100644 --- a/src/x509_ext.cpp +++ b/src/x509_ext.cpp @@ -59,7 +59,7 @@ OID Certificate_Extension::oid_of() const *************************************************/ void Extensions::encode_into(DER_Encoder& to_object) const { - for(u32bit j = 0; j != extensions.size(); j++) + for(u32bit j = 0; j != extensions.size(); ++j) { const Certificate_Extension* ext = extensions[j]; @@ -351,7 +351,7 @@ void Extended_Key_Usage::decode_inner(const MemoryRegion<byte>& in) *************************************************/ void Extended_Key_Usage::contents_to(Data_Store& subject, Data_Store&) const { - for(u32bit j = 0; j != oids.size(); j++) + for(u32bit j = 0; j != oids.size(); ++j) subject.add("X509v3.ExtendedKeyUsage", oids[j].as_string()); } @@ -413,7 +413,7 @@ void Certificate_Policies::decode_inner(const MemoryRegion<byte>& in) *************************************************/ void Certificate_Policies::contents_to(Data_Store& info, Data_Store&) const { - for(u32bit j = 0; j != oids.size(); j++) + for(u32bit j = 0; j != oids.size(); ++j) info.add("X509v3.ExtendedKeyUsage", oids[j].as_string()); } |