From 37ba6d05cc2a4214ff2d447b26a7d6c98322842c Mon Sep 17 00:00:00 2001 Message-Id: <37ba6d05cc2a4214ff2d447b26a7d6c98322842c.1715003181.git.mdw@distorted.org.uk> From: Mark Wooding Date: Thu, 23 Feb 2012 02:54:24 +0000 Subject: [PATCH] keyfunc.sh.in: Fix the OpenSSL `dgst' rune. Organization: Straylight/Edgeware From: Mark Wooding 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/keyfunc.sh.in b/keyfunc.sh.in index dda8a2e..02bc10d 100644 --- 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 } -- [mdw]