axl_bool myqtt_tls_verify_cert ( MyQttConn connection)

Allows to verify peer certificate after successfully establish TLS session.

This function is useful to check if certificate used by the remote peer is valid.

connectionThe connection where the certificate will be checked.
axl_true If certificate verification status is ok, otherwise axl_false is returned.

References CONN_CTX, myqtt_conn_get_data(), myqtt_conn_get_host(), myqtt_conn_get_id(), and myqtt_tls_is_on().