void nopoll_conn_opts_ssl_peer_verify ( noPollConnOpts opts,
nopoll_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 nopoll_listener_new for example) this is not required because by default peer verification is disabled by default.

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