Just make the io.Reader etc aliases
This commit is contained in:
1 parent
3f6775e29b
commit
9ee4b76cd9
41 files changed
+137
-142
No files matched your search
Vendored
+1
-1
@@ -69,7 +69,7 @@ hash_stream_512 :: proc(s: io.Stream) -> ([DIGEST_SIZE_512]byte, bool) {
|
||||
defer delete(buf)
|
||||
i := 1
|
||||
for i > 0 {
|
||||
i, _ = io.read({s}, buf)
|
||||
i, _ = io.read(s, buf)
|
||||
if i > 0 {
|
||||
botan.hash_update(ctx, len(buf) == 0 ? nil : &buf[0], uint(i))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user