At the moment the msg callback only received the record header with the
outer record type in it. We never pass the inner record type - we probably
need to at some point.
Reviewed-by: Rich Salz <rsalz@openssl.org>
}
} else {
/* SSLv3+ style record */
+ /*
+ * TODO(TLS1.3): This callback only provides the "outer" record
+ * type to the callback. Somehow we need to pass the "inner"
+ * record type
+ */
if (s->msg_callback)
s->msg_callback(0, 0, SSL3_RT_HEADER, p, 5, s,
s->msg_callback_arg);