mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-03 11:51:24 +03:00
- Made second argument of f_send() prototype and of net_send() const
This commit is contained in:
@@ -143,7 +143,7 @@ int net_recv( void *ctx, unsigned char *buf, size_t len );
|
||||
* or a non-zero error code; POLARSSL_ERR_NET_WANT_WRITE
|
||||
* indicates write() is blocking.
|
||||
*/
|
||||
int net_send( void *ctx, unsigned char *buf, size_t len );
|
||||
int net_send( void *ctx, const unsigned char *buf, size_t len );
|
||||
|
||||
/**
|
||||
* \brief Gracefully shutdown the connection
|
||||
|
||||
Reference in New Issue
Block a user