summaryrefslogtreecommitdiff
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2015-05-08 07:26:14 +0000
committerDamien Miller <djm@cvs.openbsd.org>2015-05-08 07:26:14 +0000
commit7657866023dc3995a0ff0ae3debc1fa26edababe (patch)
treeb5c658645e18b2b7996cf430d2c82d7e299aeb77 /regress/usr.bin
parent46654c67dcf4d0378cc2137f4f8ed3b3507b6595 (diff)
whitespace at EOL
Diffstat (limited to 'regress/usr.bin')
-rwxr-xr-xregress/usr.bin/ssh/ssh2putty.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/ssh2putty.sh b/regress/usr.bin/ssh/ssh2putty.sh
index 796839f59a5..729862cd42f 100755
--- a/regress/usr.bin/ssh/ssh2putty.sh
+++ b/regress/usr.bin/ssh/ssh2putty.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: ssh2putty.sh,v 1.2 2009/10/06 23:51:49 dtucker Exp $
+# $OpenBSD: ssh2putty.sh,v 1.3 2015/05/08 07:26:13 djm Exp $
if test "x$1" = "x" -o "x$2" = "x" -o "x$3" = "x" ; then
echo "Usage: ssh2putty hostname port ssh-private-key"
@@ -17,13 +17,13 @@ if ! grep -q "BEGIN RSA PRIVATE KEY" $KEYFILE ; then
fi
public_exponent=`
- openssl rsa -noout -text -in $KEYFILE | grep ^publicExponent |
+ openssl rsa -noout -text -in $KEYFILE | grep ^publicExponent |
sed 's/.*(//;s/).*//'
`
test $? -ne 0 && exit 1
modulus=`
- openssl rsa -noout -modulus -in $KEYFILE | grep ^Modulus= |
+ openssl rsa -noout -modulus -in $KEYFILE | grep ^Modulus= |
sed 's/^Modulus=/0x/' | tr A-Z a-z
`
test $? -ne 0 && exit 1