More Doxygen-compatible documentation (SSL API).

This commit is contained in:
Thomas Pornin 2016-11-23 16:59:44 +01:00
parent 2e2b17186b
commit 298ce6530e
4 changed files with 1593 additions and 521 deletions

View file

@ -149,6 +149,9 @@ br_sslio_read(br_sslio_context *ctx, void *dst, size_t len)
unsigned char *buf;
size_t alen;
if (len == 0) {
return 0;
}
if (run_until(ctx, BR_SSL_RECVAPP) < 0) {
return -1;
}
@ -188,6 +191,9 @@ br_sslio_write(br_sslio_context *ctx, const void *src, size_t len)
unsigned char *buf;
size_t alen;
if (len == 0) {
return 0;
}
if (run_until(ctx, BR_SSL_SENDAPP) < 0) {
return -1;
}