diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-02-04 13:29:14 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-02-04 13:29:14 +0100 |
commit | 448a60aef468166b9d50f2a7b2429c62f4467a97 (patch) | |
tree | 3d4ae0408c90fe88f9d29d1259c41f2b0d7afbea /sha3sum.java | |
parent | repair py (S was transposed...) (diff) | |
download | sha3sum-448a60aef468166b9d50f2a7b2429c62f4467a97.tar.gz sha3sum-448a60aef468166b9d50f2a7b2429c62f4467a97.tar.bz2 sha3sum-448a60aef468166b9d50f2a7b2429c62f4467a97.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | sha3sum.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sha3sum.java b/sha3sum.java index 430ca13..2baf1e5 100644 --- a/sha3sum.java +++ b/sha3sum.java @@ -36,7 +36,7 @@ public class sha3sum */ public static void main(String... argv) throws IOException { - String cmd, _cmd = cmd = ""; //FIXME + String cmd, _cmd = cmd = ""; //FIXME /proc/self/cmdline split ^@ [0] if (cmd.indexOf('/') >= 0) cmd = cmd.substring(cmd.lastIndexOf('/') + 1); if (cmd.endsWith(".jar")) @@ -200,7 +200,7 @@ public class sha3sum try { file = new FileInputStream(fn); - SHA3.initalise(r, c, o); + SHA3.initialise(r, c, o); int blksize = 4096; /** XXX os.stat(os.path.realpath(fn)).st_size; **/ byte[] chunk = new byte[blksize]; for (;;) @@ -213,7 +213,7 @@ public class sha3sum byte[] bs = SHA3.digest(); for (int _ = 1; _ < i; _++) { - SHA3.initalise(r, c, o); + SHA3.initialise(r, c, o); bs = SHA3.digest(bs); } if (binary) |