提交 56d36288 编写于 作者: P Paul Yang 提交者: Kurt Roeckx

Remove spaces at end of line in ssl/statem

Reviewed-by: NKurt Roeckx <kurt@roeckx.be>
Reviewed-by: NMatt Caswell <matt@openssl.org>
GH: #4934
上级 b4ff6622
...@@ -1047,7 +1047,7 @@ static int final_alpn(SSL *s, unsigned int context, int sent) ...@@ -1047,7 +1047,7 @@ static int final_alpn(SSL *s, unsigned int context, int sent)
* we also have to do this before we decide whether to accept early_data. * we also have to do this before we decide whether to accept early_data.
* In TLSv1.3 we've already negotiated our cipher so we do this call now. * In TLSv1.3 we've already negotiated our cipher so we do this call now.
* For < TLSv1.3 we defer it until after cipher negotiation. * For < TLSv1.3 we defer it until after cipher negotiation.
* *
* On failure SSLfatal() already called. * On failure SSLfatal() already called.
*/ */
return tls_handle_alpn(s); return tls_handle_alpn(s);
......
...@@ -1202,7 +1202,7 @@ int tls_parse_stoc_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context, ...@@ -1202,7 +1202,7 @@ int tls_parse_stoc_maxfragmentlen(SSL *s, PACKET *pkt, unsigned int context,
unsigned int value; unsigned int value;
if (PACKET_remaining(pkt) != 1 || !PACKET_get_1(pkt, &value)) { if (PACKET_remaining(pkt) != 1 || !PACKET_get_1(pkt, &value)) {
SSLfatal(s, SSL_AD_DECODE_ERROR, SSL_F_TLS_PARSE_STOC_MAXFRAGMENTLEN, SSLfatal(s, SSL_AD_DECODE_ERROR, SSL_F_TLS_PARSE_STOC_MAXFRAGMENTLEN,
SSL_R_BAD_EXTENSION); SSL_R_BAD_EXTENSION);
return 0; return 0;
} }
......
...@@ -1081,7 +1081,7 @@ EXT_RETURN tls_construct_stoc_status_request(SSL *s, WPACKET *pkt, ...@@ -1081,7 +1081,7 @@ EXT_RETURN tls_construct_stoc_status_request(SSL *s, WPACKET *pkt,
*/ */
if (SSL_IS_TLS13(s) && !tls_construct_cert_status_body(s, pkt)) { if (SSL_IS_TLS13(s) && !tls_construct_cert_status_body(s, pkt)) {
/* SSLfatal() already called */ /* SSLfatal() already called */
return EXT_RETURN_FAIL; return EXT_RETURN_FAIL;
} }
if (!WPACKET_close(pkt)) { if (!WPACKET_close(pkt)) {
SSLfatal(s, SSL_AD_INTERNAL_ERROR, SSLfatal(s, SSL_AD_INTERNAL_ERROR,
......
...@@ -654,7 +654,7 @@ WORK_STATE ossl_statem_server_pre_work(SSL *s, WORK_STATE wst) ...@@ -654,7 +654,7 @@ WORK_STATE ossl_statem_server_pre_work(SSL *s, WORK_STATE wst)
* Actually this is the end of the handshake, but we're going * Actually this is the end of the handshake, but we're going
* straight into writing the session ticket out. So we finish off * straight into writing the session ticket out. So we finish off
* the handshake, but keep the various buffers active. * the handshake, but keep the various buffers active.
* *
* Calls SSLfatal as required. * Calls SSLfatal as required.
*/ */
return tls_finish_handshake(s, wst, 0); return tls_finish_handshake(s, wst, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册