Skip to content

Commit

Permalink
Modern SSL is actually aware of BIMI OID in the database...
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Nov 14, 2023
1 parent 91114c0 commit db4ec82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/x509_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl ExtendedKeyUsage {
buf.as_mut_ptr() as *mut _,
buf.len() as c_int,
self.as_ptr(),
0,
1,
);
match std::str::from_utf8(&buf[..len as usize]) {
Err(_) => None,
Expand All @@ -49,7 +49,7 @@ impl fmt::Display for ExtendedKeyUsage {
buf.as_mut_ptr() as *mut _,
buf.len() as c_int,
self.as_ptr(),
0,
1,
);
match std::str::from_utf8(&buf[..len as usize]) {
Err(_) => fmt.write_str("error"),
Expand Down

0 comments on commit db4ec82

Please sign in to comment.