BUILD: ssl: fix build warning with previous changes to ssl_sock_ctx
Some compilers see a possible null deref after conn_get_ssl_sock_ctx()
in ssl_sock_parse_heartbeat, which cannot happen there, so let's mark
it as safe. No backport needed.
diff --git a/src/ssl_sock.c b/src/ssl_sock.c
index 26940db..a681e25 100644
--- a/src/ssl_sock.c
+++ b/src/ssl_sock.c
@@ -1713,6 +1713,7 @@
const unsigned char *p = buf;
unsigned int payload;
+ ALREADY_CHECKED(ctx);
ctx->xprt_st |= SSL_SOCK_RECV_HEARTBEAT;
/* Check if this is a CVE-2014-0160 exploitation attempt. */