Adapt ssl_fetch_input() for UDP

This commit is contained in:
Manuel Pégourié-Gonnard 2014-03-24 13:13:01 +01:00 committed by Paul Bakker
parent 8a06d9c5d6
commit fe98aceb70
2 changed files with 57 additions and 11 deletions

View file

@ -1762,10 +1762,6 @@ int ssl_send_fatal_handshake_failure( ssl_context *ssl );
int ssl_derive_keys( ssl_context *ssl );
int ssl_read_record( ssl_context *ssl );
/**
* \return 0 if successful, POLARSSL_ERR_SSL_CONN_EOF on EOF or
* another negative error code.
*/
int ssl_fetch_input( ssl_context *ssl, size_t nb_want );
int ssl_write_record( ssl_context *ssl );