Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lost the last char of pin code, if read from pin-source #516

Closed
wants to merge 1 commit into from

Conversation

neterror
Copy link

If the PIN code length is 32 and it is read from file using pin-source token in the URI, then its last character is cut. The function BIO_gets(..., size) reads maximum length size-1, which changes the PIN size to 31.

If the PIN code length is 32 and it is read from file using pin-source
token in the URI, then its last character is cut. The function
BIO_gets(..., size) reads maximum length size-1, which changes the PIN
size to 31.
@mtrojnar mtrojnar closed this in 86a6332 Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants