]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authordjm@openbsd.org <djm@openbsd.org>
Fri, 8 May 2015 07:26:13 +0000 (07:26 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 8 May 2015 07:28:28 +0000 (17:28 +1000)
whitespace at EOL

Upstream-Regress-ID: 9c48911643d5b05173b36a012041bed4080b8554

regress/ssh2putty.sh

index 691db1690da2fd1bdcf2ad3ca6d8e11e411511b9..bcf83afe9e9e77f47cca672be7908d750702beb1 100755 (executable)
@@ -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"
@@ -19,13 +19,13 @@ else
 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