mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 18:15:40 +01:00
Tune comments
This commit is contained in:
parent
e08660e612
commit
55e4ff2ace
@ -204,6 +204,7 @@
|
|||||||
|
|
||||||
#define SSL_IS_CLIENT 0
|
#define SSL_IS_CLIENT 0
|
||||||
#define SSL_IS_SERVER 1
|
#define SSL_IS_SERVER 1
|
||||||
|
|
||||||
#define SSL_COMPRESS_NULL 0
|
#define SSL_COMPRESS_NULL 0
|
||||||
#define SSL_COMPRESS_DEFLATE 1
|
#define SSL_COMPRESS_DEFLATE 1
|
||||||
|
|
||||||
|
@ -2227,10 +2227,6 @@ int ssl_read_record( ssl_context *ssl )
|
|||||||
{
|
{
|
||||||
SSL_DEBUG_MSG( 1, ( "is a fatal alert message (msg %d)",
|
SSL_DEBUG_MSG( 1, ( "is a fatal alert message (msg %d)",
|
||||||
ssl->in_msg[1] ) );
|
ssl->in_msg[1] ) );
|
||||||
/**
|
|
||||||
* Subtract from error code as ssl->in_msg[1] is 7-bit positive
|
|
||||||
* error identifier.
|
|
||||||
*/
|
|
||||||
return( POLARSSL_ERR_SSL_FATAL_ALERT_MESSAGE );
|
return( POLARSSL_ERR_SSL_FATAL_ALERT_MESSAGE );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4181,10 +4177,10 @@ static int ssl_write_hello_request( ssl_context *ssl )
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Actually renegotiate current connection, triggered by either:
|
* Actually renegotiate current connection, triggered by either:
|
||||||
* - calling ssl_renegotiate() on client,
|
* - any side: calling ssl_renegotiate(),
|
||||||
* - receiving a HelloRequest on client during ssl_read(),
|
* - client: receiving a HelloRequest during ssl_read(),
|
||||||
* - receiving any handshake message on server during ssl_read() after the
|
* - server: receiving any handshake message on server during ssl_read() after
|
||||||
* initial handshake is completed
|
* the initial handshake is completed.
|
||||||
* If the handshake doesn't complete due to waiting for I/O, it will continue
|
* If the handshake doesn't complete due to waiting for I/O, it will continue
|
||||||
* during the next calls to ssl_renegotiate() or ssl_read() respectively.
|
* during the next calls to ssl_renegotiate() or ssl_read() respectively.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user