void myqtt_tls_opts_ssl_peer_verify ( MyQttConnOpts opts,
axl_bool  verify 
)

Allows to disable peer ssl certificate verification.

This is not recommended for production enviroment. This affects in a different manner to a listener connection and a client connection.

For a client connection, by default, peer verification is enabled and this function may help to disable it during development or other reasons.

In the case of the servers (created by using myqtt_listener_new for example) this is not required because by default peer verification is disabled by default.

Parameters
optsThe connection option to configure.
verifyaxl_true to disable verification otherwise, axl_false should be used. By default SSL verification is enabled.