remove outdated comment
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2153 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
14cbf7c304
commit
71b29ca9c8
|
@ -342,9 +342,6 @@ int sc_pkcs15_unblock_pin(struct sc_pkcs15_card *p15card,
|
||||||
(newpin == NULL || newpinlen == 0))
|
(newpin == NULL || newpinlen == 0))
|
||||||
return SC_ERROR_NOT_SUPPORTED;
|
return SC_ERROR_NOT_SUPPORTED;
|
||||||
|
|
||||||
/* Note: Actually two sc_pkcs15_pin_info would be needed
|
|
||||||
* here, one for the pin to reset and one for the puk
|
|
||||||
*/
|
|
||||||
max_length = pin->max_length != 0 ? pin->max_length : SC_MAX_PIN_SIZE;
|
max_length = pin->max_length != 0 ? pin->max_length : SC_MAX_PIN_SIZE;
|
||||||
if (newpinlen > max_length)
|
if (newpinlen > max_length)
|
||||||
return SC_ERROR_INVALID_PIN_LENGTH;
|
return SC_ERROR_INVALID_PIN_LENGTH;
|
||||||
|
|
Loading…
Reference in New Issue