gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 13/125: lib582: do not verify host for SFTP


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 13/125: lib582: do not verify host for SFTP
Date: Sun, 21 Jan 2018 23:41:08 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit b7f5345976127f1af2ccad431f6b60d5402e1bde
Author: Nikos Mavrogiannopoulos <address@hidden>
AuthorDate: Tue Nov 14 19:11:59 2017 +0100

    lib582: do not verify host for SFTP
    
    This SFTP test fails with libssh back-end due to failure to verify
    the peer. Disable peer verification in the test as there seems to
    be the intention of the test.
    
    Note that the libssh back-end automatically verifies the peer's
    host using the default known_hosts file.
    
    Signed-off-by: Nikos Mavrogiannopoulos <address@hidden>
---
 tests/libtest/lib582.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/libtest/lib582.c b/tests/libtest/lib582.c
index f55e5de71..2f9242a85 100644
--- a/tests/libtest/lib582.c
+++ b/tests/libtest/lib582.c
@@ -284,6 +284,7 @@ int test(char *URL)
   easy_setopt(curl, CURLOPT_USERPWD, libtest_arg3);
   easy_setopt(curl, CURLOPT_SSH_PUBLIC_KEYFILE, "curl_client_key.pub");
   easy_setopt(curl, CURLOPT_SSH_PRIVATE_KEYFILE, "curl_client_key");
+  easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
 
   easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t)file_info.st_size);
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]