Skip to content

Commit

Permalink
Fix a crash on GetAssertion calls with extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Dec 10, 2019
1 parent 8b1c48a commit 4796d7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ private fun verifyWithMasterSigningKey(signature: ByteArray, vararg data: ByteAr

data class Assertion(val authenticatorData: ByteArray, val signature: ByteArray) {
init {
require(authenticatorData.size == 32 + 1 + 4)
require(authenticatorData.size >= 32 + 1 + 4)
}
}

Expand Down

0 comments on commit 4796d7f

Please sign in to comment.