beremiz

MQTT: fix mostly harmless error producing wrong log message when connecting with x509.
--- a/mqtt/mqtt_client_gen.py Mon Feb 17 14:15:48 2025 +0100
+++ b/mqtt/mqtt_client_gen.py Mon Feb 17 14:27:35 2025 +0100
@@ -392,7 +392,7 @@
config[k] = '"'+config[k]+'"' if config[k] else "NULL"
formatdict["init"] += """
INIT_x509({Verify:d}, {KeyStore}, {TrustStore})""".format(**config)
- if AuthType == "PSK":
+ elif AuthType == "PSK":
formatdict["init"] += """
INIT_PSK("{Secret}", "{ID}")""".format(**config)
elif AuthType == "UserPassword":