pub unsafe extern "C" fn mbedtls_ssl_get_verify_result(
    ssl: *const mbedtls_ssl_context
) -> u32
Expand description

\brief Return the result of the certificate verification

\param ssl The SSL context to use.

\return \c 0 if the certificate verification was successful. \return \c -1u if the result is not available. This may happen e.g. if the handshake aborts early, or a verification callback returned a fatal error. \return A bitwise combination of \c MBEDTLS_X509_BADCERT_XXX and \c MBEDTLS_X509_BADCRL_XXX failure flags; see x509.h.