Added comments
FossilOrigin-Name: cff820c5c88db1039126df959766ef4e9269b2cd01b91c34bd332f0fd33b9dc9
This commit is contained in:
parent
70e0756a6a
commit
2d5c4ab360
@ -15,6 +15,13 @@
|
|||||||
along with Foobar. If not, see <http://www.gnu.org/licenses/>.
|
along with Foobar. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* @brief DTLS functions specific to gnutls
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
@ -42,7 +49,6 @@ ssize_t dtls_gnutls_bio_read(gnutls_transport_ptr_t b, void *out, size_t maxlen)
|
|||||||
|
|
||||||
ssize_t dtls_gnutls_bio_write(gnutls_transport_ptr_t b, const void *data, size_t len)
|
ssize_t dtls_gnutls_bio_write(gnutls_transport_ptr_t b, const void *data, size_t len)
|
||||||
{
|
{
|
||||||
|
|
||||||
struct conn *conn = (struct conn*)b;
|
struct conn *conn = (struct conn*)b;
|
||||||
return dtls_bio_write(conn,data,len);
|
return dtls_bio_write(conn,data,len);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user