Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
Fix loop
Browse files Browse the repository at this point in the history
Iterate through all slots before exiting loop.
  • Loading branch information
kozure committed May 31, 2016
1 parent 0586805 commit 8569595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Crypt/PKCS11/Easy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,9 @@ sub get_slot {

# last;
}
die "Unable to find slot containing token labelled '$arg{token}'"
unless $slot;
}
die "Unable to find slot containing token labelled '$arg{token}'"
unless $slot;
}

# strip whitespace padding
Expand Down

0 comments on commit 8569595

Please sign in to comment.