more debug output
This commit is contained in:
parent
7573361836
commit
c53cf33137
1 changed files with 4 additions and 0 deletions
|
@ -471,6 +471,8 @@ impl PcscCard {
|
|||
/// A list of "raw" opened PCSC Cards (without selecting the OpenPGP card
|
||||
/// application)
|
||||
fn raw_pcsc_cards(mode: ShareMode) -> Result<Vec<Card>, SmartcardError> {
|
||||
log::debug!("raw_pcsc_cards start");
|
||||
|
||||
let ctx = match Context::establish(Scope::User) {
|
||||
Ok(ctx) => ctx,
|
||||
Err(err) => {
|
||||
|
@ -479,6 +481,8 @@ impl PcscCard {
|
|||
}
|
||||
};
|
||||
|
||||
log::debug!("raw_pcsc_cards got context");
|
||||
|
||||
// List available readers.
|
||||
let mut readers_buf = [0; 2048];
|
||||
let readers = match ctx.list_readers(&mut readers_buf) {
|
||||
|
|
Loading…
Reference in a new issue