Fix some build errors

This commit is contained in:
Justine Tunney 2023-06-05 15:50:15 -07:00
parent 7558549d44
commit 5b908bc756
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
8 changed files with 19 additions and 11 deletions

View file

@ -91,7 +91,7 @@ void log_analyzer( void *ctx, int level,
/* Invalid minor version used when not specifying a min/max version or expecting a test to fail */
#define TEST_SSL_MINOR_VERSION_NONE -1
s
typedef struct handshake_test_options
{
const char *cipher;
@ -2270,6 +2270,8 @@ void test_ssl_mock_sanity( )
unsigned char received[MSGLEN];
mbedtls_mock_socket socket;
memset(message, 0, sizeof(message));
mbedtls_mock_socket_init( &socket );
TEST_ASSERT( mbedtls_mock_tcp_send_b( &socket, message, MSGLEN ) < 0 );
mbedtls_mock_socket_close( &socket );