mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Deprecate ssl_set_bio()
This commit is contained in:
parent
df3acd82e2
commit
ef88e68188
2 changed files with 3 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ API Changes
|
|||
* net_connect() and net_bind() have a new 'proto' argument to choose
|
||||
between TCP and UDP, using the macros NET_PROTO_TCP or NET_PROTO_UDP.
|
||||
* ssl_set_bio() now requires that p_send == p_recv.
|
||||
* ssl_set_bio() is deprecated in favor of ssl_set_bio_timeout().
|
||||
|
||||
= PolarSSL 1.3.9 released 2014-10-20
|
||||
Security
|
||||
|
|
|
|||
|
|
@ -1166,6 +1166,8 @@ void ssl_set_dbg( ssl_context *ssl,
|
|||
* \warning It is required that p_recv == p_send. Otherwise, the first
|
||||
* attempt at sending or receiving will result in a
|
||||
* POLARSSL_ERR_SSL_BAD_INPUT_DATA error.
|
||||
*
|
||||
* \deprecated Superseded by ssl_set_bio_timeout().
|
||||
*/
|
||||
void ssl_set_bio( ssl_context *ssl,
|
||||
int (*f_recv)(void *, unsigned char *, size_t), void *p_recv,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue