testbot/TestAgent: Fix the check for the id_dsa and id_rsa keys.

Francois Gouget fgouget at codeweavers.com
Mon Dec 17 09:39:52 CST 2012


---
 testbot/lib/WineTestBot/TestAgent.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testbot/lib/WineTestBot/TestAgent.pm b/testbot/lib/WineTestBot/TestAgent.pm
index 1ce2f97..a92f67f 100644
--- a/testbot/lib/WineTestBot/TestAgent.pm
+++ b/testbot/lib/WineTestBot/TestAgent.pm
@@ -818,7 +818,7 @@ sub _Connect($)
     if (defined $ENV{HOME} and !exists $AuthOptions{"privatekey"} and
         !exists $AuthOptions{"publickey"})
     {
-      foreach my $key ("dsa", "rsa")
+      foreach my $key ("id_dsa", "id_rsa")
       {
         if (-f "$ENV{HOME}/.ssh/$key" and -f "$ENV{HOME}/.ssh/$key.pub")
         {
-- 
1.7.10.4



More information about the wine-patches mailing list