aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2019-10-27 23:02:00 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-23 14:31:32 +0100
commit9e7de14d5936d4e983b6945a4553c2dc0773e7d6 (patch)
tree32b56ef96fb09be425cd6eb6fbdc1da22e9c6393
parentbba5fa18ed81fdac8f69e1d2389f8084d56b076b (diff)
downloadlibssh-9e7de14d5936d4e983b6945a4553c2dc0773e7d6.tar.gz
libssh-9e7de14d5936d4e983b6945a4553c2dc0773e7d6.tar.xz
libssh-9e7de14d5936d4e983b6945a4553c2dc0773e7d6.zip
pkd client run user executable
Signed-off-by: Aris Adamantiadis <aris@0xbadc0de.be> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--tests/pkd/pkd_client.h2
-rw-r--r--tests/tests_config.h.cmake3
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/pkd/pkd_client.h b/tests/pkd/pkd_client.h
index 63bf0f29..de42098b 100644
--- a/tests/pkd/pkd_client.h
+++ b/tests/pkd/pkd_client.h
@@ -13,7 +13,7 @@
/* OpenSSH */
-#define OPENSSH_BINARY "ssh"
+#define OPENSSH_BINARY SSH_EXECUTABLE
#define OPENSSH_KEYGEN "ssh-keygen"
#define OPENSSH_HOSTKEY_ALGOS \
diff --git a/tests/tests_config.h.cmake b/tests/tests_config.h.cmake
index c2c548be..38733844 100644
--- a/tests/tests_config.h.cmake
+++ b/tests/tests_config.h.cmake
@@ -65,4 +65,5 @@
/* Available programs */
#cmakedefine NC_EXECUTABLE "${NC_EXECUTABLE}"
-#cmakedefine SSHD_EXECUTABLE "${SSHD_EXECUTABLE}" \ No newline at end of file
+#cmakedefine SSHD_EXECUTABLE "${SSHD_EXECUTABLE}"
+#cmakedefine SSH_EXECUTABLE "${SSH_EXECUTABLE}" \ No newline at end of file