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:
@ -1770,7 +1770,7 @@ void ssl_set_dbg( ssl_context *ssl,
|
||||
|
||||
void ssl_set_bio( ssl_context *ssl,
|
||||
int (*f_recv)(void *, unsigned char *, size_t), void *p_recv,
|
||||
int (*f_send)(void *, unsigned char *, size_t), void *p_send )
|
||||
int (*f_send)(void *, const unsigned char *, size_t), void *p_send )
|
||||
{
|
||||
ssl->f_recv = f_recv;
|
||||
ssl->f_send = f_send;
|
||||
|
Reference in New Issue
Block a user