~mdw
/
distorted-keys
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
315ad13
)
keyfunc.sh.in: Fix the OpenSSL `dgst' rune.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 23 Feb 2012 02:54:24 +0000
(
02:54
+0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 23 Feb 2012 03:14:38 +0000
(
03:14
+0000)
A compatibility hack was a nice idea, but it helps if you don't throw
away the interesting answer and keep the boring and incompatible extra
filename.
keyfunc.sh.in
patch
|
blob
|
blame
|
history
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
}