aboutsummaryrefslogtreecommitdiff
path: root/sub_client.c
diff options
context:
space:
mode:
authorV.Krishn <vkrishn4@gmail.com>2019-01-14 00:27:05 +0530
committerV.Krishn <vkrishn4@gmail.com>2019-01-14 00:27:05 +0530
commitb3a9450c684ee444df84b1a090b0e15ae2a9f559 (patch)
treefe842d750532c30b02d3e93cd3ad449bdcf3524e /sub_client.c
parentf5a446917145381dd38ba677e2731b1d1516dc9c (diff)
downloadmqtt-dirpub-b3a9450c684ee444df84b1a090b0e15ae2a9f559.tar.bz2
update to mosquitto-v1.5.5
Diffstat (limited to 'sub_client.c')
-rw-r--r--sub_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sub_client.c b/sub_client.c
index 12caf8d..7ccaafe 100644
--- a/sub_client.c
+++ b/sub_client.c
@@ -510,7 +510,7 @@ void print_usage(void)
#ifdef WITH_TLS
printf(" [{--cafile file | --capath dir} [--cert file] [--key file]\n");
printf(" [--ciphers ciphers] [--insecure]]\n");
-#ifdef WITH_TLS_PSK
+#ifdef FINAL_WITH_TLS_PSK
printf(" [--psk hex-key --psk-identity identity [--ciphers ciphers]]\n");
#endif
#endif
@@ -580,7 +580,7 @@ void print_usage(void)
printf(" hostname. Using this option means that you cannot be sure that the\n");
printf(" remote host is the server you wish to connect to and so is insecure.\n");
printf(" Do not use this option in a production environment.\n");
-#ifdef WITH_TLS_PSK
+#ifdef FINAL_WITH_TLS_PSK
printf(" --psk : pre-shared-key in hexadecimal (no leading 0x) to enable TLS-PSK mode.\n");
printf(" --psk-identity : client identity string for TLS-PSK mode.\n");
#endif