- Made second argument of f_send() prototype and of net_send() const
diff --git a/include/polarssl/net.h b/include/polarssl/net.h
index 725babe..c02dbd2 100644
--- a/include/polarssl/net.h
+++ b/include/polarssl/net.h
@@ -143,7 +143,7 @@
* 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