In open_by_ident(), call to_ascii_uppercase() on user-provided ident (for case insensitive comparison).
This commit is contained in:
parent
4c264a59b4
commit
0089c211ae
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ impl PcscClient {
|
|||
let ard = ca.get_application_related_data()?;
|
||||
let aid = ard.get_application_id()?;
|
||||
|
||||
if aid.ident() == ident {
|
||||
if aid.ident() == ident.to_ascii_uppercase() {
|
||||
return Ok(ca);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue