diff options
author | V.Krishn <vkrishn4@gmail.com> | 2019-01-14 00:27:05 +0530 |
---|---|---|
committer | V.Krishn <vkrishn4@gmail.com> | 2019-01-14 00:27:05 +0530 |
commit | b3a9450c684ee444df84b1a090b0e15ae2a9f559 (patch) | |
tree | fe842d750532c30b02d3e93cd3ad449bdcf3524e /sub_client.c | |
parent | f5a446917145381dd38ba677e2731b1d1516dc9c (diff) | |
download | mqtt-dirpub-b3a9450c684ee444df84b1a090b0e15ae2a9f559.tar.bz2 |
update to mosquitto-v1.5.5
Diffstat (limited to 'sub_client.c')
-rw-r--r-- | sub_client.c | 4 |
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 |