Commit 3a21bc18 authored by Michael Rauh's avatar Michael Rauh Committed by Tobias Wich
Browse files

Fix pin length bug in CIFCreator

parent 0d69232e
......@@ -167,7 +167,7 @@ public class CIFCreator {
PasswordAttributesType pw = new PasswordAttributesType();
MwToken tok = session.getSlot().getTokenInfo();
long minPinLen = tok.getUlMinPinLen();
long maxPinLen = tok.getUlMinPinLen();
long maxPinLen = tok.getUlMaxPinLen();
pw.setMinLength(BigInteger.valueOf(minPinLen));
pw.setMaxLength(BigInteger.valueOf(maxPinLen));
markerBuilder.setPwAttributes(pw);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment