We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96f1ccc commit c6ec89eCopy full SHA for c6ec89e
cryptography-providers/openssl3/api/src/commonMain/kotlin/algorithms/Openssl3Hmac.kt
@@ -101,7 +101,7 @@ private class HmacSignature(
101
102
@OptIn(UnsafeNumber::class)
103
override fun update(source: ByteArray, startIndex: Int, endIndex: Int) {
104
- checkBounds(source.size, startIndex, endIndex - startIndex)
+ checkBounds(source.size, startIndex, endIndex)
105
val context = context.access()
106
107
source.usePinned {
0 commit comments