diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-01-16 15:07:37 +0100 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-01-16 15:07:37 +0100 |
| commit | 273de152aee21ed4855bf4b6fdbd08d494995863 (patch) | |
| tree | 61bf0fcf75119b94a45d2bea8b4ce6a65dc024b4 /src/common | |
| parent | f3bfad6da8932b2d5c6a9cba430701b0a67e422c (diff) | |
work on resolve entire file.
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/sha1.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/sha1.odin b/src/common/sha1.odin index d4621dd..8e90da6 100644 --- a/src/common/sha1.odin +++ b/src/common/sha1.odin @@ -179,7 +179,7 @@ sha1_hash_block :: proc (state_context: ^Sha1context) { sha1_add_uncounted :: proc (state_context: ^Sha1context, data: byte) { - when ODIN_ENDIAN == "big" { + when ODIN_ENDIAN == .Big { state_context.buf.c[state_context.buf_offset] = data; } else @@ -262,7 +262,7 @@ sha1_final :: proc (state_context: ^Sha1context, result: ^[5]u32) { sha1_pad(state_context); - when ODIN_ENDIAN == "big" { + when ODIN_ENDIAN == .Big { for i := 0; i < 5; i += 1 { result[i] = state_context.state[i]; |