提交 7507e73d 编写于 作者: M Matt Caswell

Fix heartbeat compilation error

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 150e2985
......@@ -1505,6 +1505,7 @@ int ssl_add_serverhello_tlsext(SSL *s, WPACKET *pkt, int *al)
#ifndef OPENSSL_NO_HEARTBEATS
/* Add Heartbeat extension if we've received one */
if (SSL_IS_DTLS(s) && (s->tlsext_heartbeat & SSL_DTLSEXT_HB_ENABLED)) {
unsigned int mode;
/*-
* Set mode:
* 1: peer may send requests
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册