aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/test_upgrade_ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/test_upgrade_ssl.c')
-rw-r--r--src/microhttpd/test_upgrade_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/test_upgrade_ssl.c b/src/microhttpd/test_upgrade_ssl.c
index 3aa55d1a..bc4c4249 100644
--- a/src/microhttpd/test_upgrade_ssl.c
+++ b/src/microhttpd/test_upgrade_ssl.c
@@ -189,7 +189,7 @@ main (int argc,
189 use_tool = TLS_CLI_NO_TOOL; 189 use_tool = TLS_CLI_NO_TOOL;
190 if (0 == system ("gnutls-cli --version 1> /dev/null")) 190 if (0 == system ("gnutls-cli --version 1> /dev/null"))
191 use_tool = TLS_CLI_GNUTLS; 191 use_tool = TLS_CLI_GNUTLS;
192 else if (0 != system ("openssl version 1> /dev/null")) 192 else if (0 == system ("openssl version 1> /dev/null"))
193 use_tool = TLS_CLI_OPENSSL; 193 use_tool = TLS_CLI_OPENSSL;
194 else 194 else
195 return 77; /* not possible to test */ 195 return 77; /* not possible to test */