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

Fix packing sub_cmd. #206

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Fix packing sub_cmd. #206

merged 1 commit into from
Feb 28, 2024

Conversation

polhenarejos
Copy link
Contributor

sub_cmd is an unsigned char, since VENDOR_PROTOTYPE is 0xff. If not, it cannot be encoded.

Currently, Config.CMD.VENDOR_PROTOTYPE (0xFF) cannot be encoded, since it is encoded as <b (signed char). It must be encoded as <B (unsigned char).

sub_cmd is an unsigned char, since VENDOR_PROTOTYPE is 0xff. If not, it cannot be encoded.

Signed-off-by: Pol Henarejos <[email protected]>
@dainnilsson dainnilsson merged commit a5bd97c into Yubico:main Feb 28, 2024
27 checks passed
@dainnilsson
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants