The unified diff between revisions [b6853a1b..] and [a93b1376..] is displayed below. It can also be downloaded as a raw diff.
#
#
# patch "enumerator.cc"
# from [b1bf503af4b757eaf326935c4aa3acce3d9ff200]
# to [33a06c9ebfb955efb197f5eafb2e8d9beaee8a1d]
#
============================================================
--- enumerator.cc b1bf503af4b757eaf326935c4aa3acce3d9ff200
+++ enumerator.cc 33a06c9ebfb955efb197f5eafb2e8d9beaee8a1d
@@ -196,6 +196,21 @@ revision_enumerator::process_bunch()
item.tag = enumerator_item::rev;
item.ident_a = r->inner();
items.push_back(item);
+
+ // Queue up some or all of the rev's certs
+ vector<hexenc<id> > hashes;
+ app.db.get_revision_certs(*r, hashes);
+ for (vector<hexenc<id> >::const_iterator i = hashes.begin();
+ i != hashes.end(); ++i)
+ {
+ if (cb.queue_this_cert(*i))
+ {
+ enumerator_item item;
+ item.tag = enumerator_item::cert;
+ item.ident_a = *i;
+ items.push_back(item);
+ }
+ }
}
}