aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/sshserver.pl9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/sshserver.pl b/tests/sshserver.pl
index 9af868c0e..564e61550 100644
--- a/tests/sshserver.pl
+++ b/tests/sshserver.pl
@@ -606,12 +606,11 @@ if(sshd_supports_opt('UsePAM','no')) {
push @cfgarr, 'UsePAM no';
}
-if($sshdid =~ /SunSSH/) {
+if($sshdid =~ /OpenSSH/) {
# http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6492415
- push @cfgarr, '# UsePrivilegeSeparation yes';
-}
-elsif(sshd_supports_opt('UsePrivilegeSeparation','no')) {
- push @cfgarr, 'UsePrivilegeSeparation no';
+ if(sshd_supports_opt('UsePrivilegeSeparation','no')) {
+ push @cfgarr, 'UsePrivilegeSeparation no';
+ }
}
if(sshd_supports_opt('VerifyReverseMapping','no')) {