tls_peer_cert_hash
const char *tls_peer_cert_hash(struct tls *_ctx);
if (tls_peer_cert_hash(tls_ctx))
tls_peer_cert_hash(tls_ctx));
if (tls_expecthash && (tls_peer_cert_hash(tls_ctx) == NULL ||
strcmp(tls_expecthash, tls_peer_cert_hash(tls_ctx)) != 0))
(tls_peer_cert_hash(tls_cctx) == NULL ||
strcmp(tls_expecthash, tls_peer_cert_hash(tls_cctx)) != 0))
tls_peer_cert_hash(io_tls(s->io)));
tls_peer_cert_hash(io_tls(s->io)));