Skip to content

Commit 4987757

Browse files
committed
ktlint
1 parent 5eb84bd commit 4987757

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aws-crt-kotlin/native/src/aws/sdk/kotlin/crt/util/hashing/ShaNative.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ internal class Sha(val initializeFn: InitializeHashFn) : HashFunction {
6363
require(offset + length <= input.size) {
6464
"offset + length must not exceed input size: $offset + $length > ${input.size}"
6565
}
66-
66+
6767
if (input.isEmpty() || length == 0) {
6868
return
6969
}

aws-crt-kotlin/native/test/aws/sdk/kotlin/crt/util/hashing/HashFunctionNativeTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class HashFunctionTest {
9090
md5.update(data, 4, 1)
9191
}
9292
}
93-
93+
9494
@Test
9595
fun testSha1UpdateOutOfBounds() {
9696
val sha1 = Sha1()

0 commit comments

Comments
 (0)