This commit is contained in:
Wolfgang Hottgenroth
2021-02-09 19:17:14 +01:00
parent 01fbecfc33
commit 525a920e84
3 changed files with 8 additions and 7 deletions

View File

@ -50,6 +50,7 @@ int receiver(config_t *cfg) {
logmsg(LOG_ERR, "No sharedsecret configured for device %s", buf.s.deviceId);
continue;
}
logmsg(LOG_INFO, "SharedSecret is %s", sharedSecret);
if (strlen(sharedSecret) > SHA256_BLOCK_SIZE) {
logmsg(LOG_ERR, "Configured sharedsecret for device %s is too long", buf.s.deviceId);