mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
- Made second argument of f_send() prototype and of net_send() const
This commit is contained in:
@ -317,7 +317,7 @@ int net_recv( void *ctx, unsigned char *buf, size_t len )
|
||||
/*
|
||||
* Write at most 'len' characters
|
||||
*/
|
||||
int net_send( void *ctx, unsigned char *buf, size_t len )
|
||||
int net_send( void *ctx, const unsigned char *buf, size_t len )
|
||||
{
|
||||
int ret = write( *((int *) ctx), buf, len );
|
||||
|
||||
|
Reference in New Issue
Block a user