diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2023-09-13 00:24:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 00:24:40 +0300 |
commit | e70e50815ba740edc64d9b3df31e5b79afbffd71 (patch) | |
tree | 13107ddf7f3c65f5e1e3bab84138a4427ee5b917 /aclk | |
parent | 69894b1bd32de8c32c8f4880efff993fa9f496f0 (diff) |
streaming logs (#15948)
Diffstat (limited to 'aclk')
-rw-r--r-- | aclk/aclk_otp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aclk/aclk_otp.c b/aclk/aclk_otp.c index 99b2adea27..207ca08cf0 100644 --- a/aclk/aclk_otp.c +++ b/aclk/aclk_otp.c @@ -502,7 +502,7 @@ int aclk_get_mqtt_otp(RSA *p_key, char **mqtt_id, char **mqtt_usr, char **mqtt_p } // Decrypt Challenge / Get response - unsigned char *response_plaintext; + unsigned char *response_plaintext = NULL; int response_plaintext_bytes = private_decrypt(p_key, challenge, challenge_bytes, &response_plaintext); if (response_plaintext_bytes < 0) { netdata_log_error("Couldn't decrypt the challenge received"); |