mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-09 11:14:26 +02:00
Fix missing-prototype errors in tests/suites
Signed-off-by: Michael Schuster <michael@schuster.ms>
This commit is contained in:
committed by
Minos Galanakis
parent
8cc43f23b6
commit
b1e33fb707
@@ -950,7 +950,7 @@ int mbedtls_test_move_handshake_to_state(mbedtls_ssl_context *ssl,
|
||||
/*
|
||||
* Write application data. Increase write counter if necessary.
|
||||
*/
|
||||
int mbedtls_ssl_write_fragment(mbedtls_ssl_context *ssl,
|
||||
static int mbedtls_ssl_write_fragment(mbedtls_ssl_context *ssl,
|
||||
unsigned char *buf, int buf_len,
|
||||
int *written,
|
||||
const int expected_fragments)
|
||||
@@ -997,7 +997,7 @@ exit:
|
||||
* Read application data and increase read counter and fragments counter
|
||||
* if necessary.
|
||||
*/
|
||||
int mbedtls_ssl_read_fragment(mbedtls_ssl_context *ssl,
|
||||
static int mbedtls_ssl_read_fragment(mbedtls_ssl_context *ssl,
|
||||
unsigned char *buf, int buf_len,
|
||||
int *read, int *fragments,
|
||||
const int expected_fragments)
|
||||
|
||||
Reference in New Issue
Block a user