You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MOSQ_OPT_SSL_CTX | Pass an openssl SSL_CTX to be used when creating TLS connections rather than libmosquitto creating its own. This must be called before connecting to have any effect. If you use this option, the onus is on you to ensure that you are using secure settings. Setting to NULL means that libmosquitto will use its own SSL_CTX if TLS is to be used. This option is only available for openssl 1.1.0 and higher.
NULL should be allowed, but the mosquitto_opts_set and mosquitto_void_option functions exits with MOSQ_ERR_INVALID