Skip to content

Commit 9d66031

Browse files
ravi-signaljrose-signal
authored andcommitted
boring: Support validating certificates against CRLs
Adds CRL types and validation of certificates against CRLs with a `X509Store/X509StoreContext`. Also enables customizing verification flags on the `X509Store`, required to enable CRL checking.
1 parent 84a80c1 commit 9d66031

File tree

10 files changed

+998
-2
lines changed

10 files changed

+998
-2
lines changed

boring/src/stack.rs

+10
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,16 @@ impl<T: Stackable> StackRef<T> {
253253
}
254254
}
255255

256+
impl<T> fmt::Debug for StackRef<T>
257+
where
258+
T: Stackable,
259+
T::Ref: fmt::Debug,
260+
{
261+
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
262+
fmt.debug_list().entries(self).finish()
263+
}
264+
}
265+
256266
impl<T: Stackable> Index<usize> for StackRef<T> {
257267
type Output = T::Ref;
258268

0 commit comments

Comments
 (0)