diff options
Diffstat (limited to 'tests/sshhelp.pm')
-rw-r--r-- | tests/sshhelp.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/sshhelp.pm b/tests/sshhelp.pm index 7345eb300..47ea2324c 100644 --- a/tests/sshhelp.pm +++ b/tests/sshhelp.pm @@ -430,6 +430,16 @@ sub sshversioninfo { $error = undef; last; } + if($tmpstr =~ /OpenSSH[_-]for[_-]Windows[_-](\d+)\.(\d+)(\.(\d+))*/i) { + $major = $1; + $minor = $2; + $patch = $4?$4:0; + $sshid = 'OpenSSH-Windows'; + $versnum = (100*$major) + (10*$minor) + $patch; + $versstr = "$sshid $major.$minor.$patch"; + $error = undef; + last; + } if($tmpstr =~ /Sun[_-]SSH[_-](\d+)\.(\d+)(\.(\d+))*/i) { $major = $1; $minor = $2; |