Skip to content

Fix cbor parsing bug#4

Open
pmengelbert wants to merge 1 commit intoArdaXi:masterfrom
bloodorangeio:cbor-bug
Open

Fix cbor parsing bug#4
pmengelbert wants to merge 1 commit intoArdaXi:masterfrom
bloodorangeio:cbor-bug

Conversation

@pmengelbert
Copy link
Copy Markdown

Previously, when options were parsed, the corresponding values were not
being consumed if they were not one of the recognized strings.
Authenticators may provide additional options, in which case the value
should be consumed and ignored. Otherwise, an error will be thrown
because the decoder encounters a boolean instead of the next integer key
of the map.

This small patch fixes this bug.

Previously, when options were parsed, the corresponding values were not
being consumed if they were not one of the recognized strings.
Authenticators may provide additional options, in which case the value
should be consumed and ignored. Otherwise, an error will be thrown
because the decoder encounters a boolean instead of the next integer key
of the map.

This small patch fixes this bug.

Signed-off-by: Peter Engelbert <pmengelbert@gmail.com>
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.

1 participant