summaryrefslogtreecommitdiff
path: root/tests/sshhelp.pm
diff options
context:
space:
mode:
authorQuinn Slack <sqs@cs.stanford.edu>2011-01-19 20:35:02 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-01-19 20:35:02 +0100
commit59cf93ccdbaa5e866f9de6b2d9b1ae5cee84863f (patch)
treeb0a40c875954b842a9bf50f409d571de04507044 /tests/sshhelp.pm
parent4f13340ab8be7baa0fe6210bb3a19b8994875fd8 (diff)
downloadcurl-59cf93ccdbaa5e866f9de6b2d9b1ae5cee84863f.tar.gz
TLS-SRP: support added when using GnuTLS
Diffstat (limited to 'tests/sshhelp.pm')
-rw-r--r--tests/sshhelp.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/sshhelp.pm b/tests/sshhelp.pm
index 18de9d3ec..493cbfed8 100644
--- a/tests/sshhelp.pm
+++ b/tests/sshhelp.pm
@@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
@@ -95,6 +95,7 @@ use vars qw(
find_sftpsrv
find_sftp
find_sshkeygen
+ find_gnutls_serv
logmsg
sshversioninfo
);
@@ -290,6 +291,12 @@ sub find_sfile {
return find_file($filename, @spath);
}
+#***************************************************************************
+# Find gnutls-serv and return canonical filename
+#
+sub find_gnutls_serv {
+ return find_file("gnutls-serv", split(':', $ENV{PATH}));
+}
#***************************************************************************
# Find ssh daemon and return canonical filename