mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add CA icon to tls check_trust modal
This commit is contained in:
parent
5feaac2bae
commit
fcc4cde41b
1 changed files with 2 additions and 1 deletions
|
|
@ -113,7 +113,8 @@ pub fn check_trust(certificates: &[Certificate]) -> bool {
|
|||
.map(|x509| {
|
||||
let subject = x509.subject();
|
||||
format!(
|
||||
"{}\n{}\n{}",
|
||||
"{}{}\n{}\n{}",
|
||||
if x509.is_ca() { "🏛 " } else { "" },
|
||||
&subject,
|
||||
&x509.raw_serial_as_string()[0..24],
|
||||
&x509.raw_serial_as_string()[24..],
|
||||
|
|
|
|||
Loading…
Reference in a new issue