~mdw
/
distorted-keys
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
keyfunc.sh.in: Fix the OpenSSL `dgst' rune.
[distorted-keys]
/
keyfunc.sh.in
diff --git
a/keyfunc.sh.in
b/keyfunc.sh.in
index
dda8a2e
..
02bc10d
100644
(file)
--- a/
keyfunc.sh.in
+++ b/
keyfunc.sh.in
@@
-322,6
+322,7
@@
nubid () {
## to demonstrate the same idiocy as GNU mumblesum.
set _ $({ echo "distorted-keys nubid"; cat -; } |
openssl dgst -${kprop_nubid_hash-sha256})
+ if [ $# -gt 2 ]; then shift; fi
echo $2
}