on_cast openssl check_self
#on_cast gnutls  check_self
