summaryrefslogtreecommitdiff
path: root/src/IO/IO.c
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2015-05-28 18:38:06 +0000
committercorvid <devnull@localhost>2015-05-28 18:38:06 +0000
commitba68c40f16755a32bf70f49bdf1d39d86adc741e (patch)
tree1eb532cbc7425f6d897e513a64b8d03a089b8665 /src/IO/IO.c
parentea14c266b84296761354f63d746a289db0bb4918 (diff)
'ssl' -> 'tls' where reasonable, given that ssl3 is dead and all
I used 'hg rename' and expected (at least hoped) that 'hg diff' would do what I would naturally want, but no.
Diffstat (limited to 'src/IO/IO.c')
-rw-r--r--src/IO/IO.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/IO/IO.c b/src/IO/IO.c
index e5c5fc79..0cdb9499 100644
--- a/src/IO/IO.c
+++ b/src/IO/IO.c
@@ -21,7 +21,7 @@
#include "../klist.h"
#include "IO.h"
#include "iowatch.hh"
-#include "ssl.h"
+#include "tls.h"
/*
* Symbolic defines for shutdown() function
@@ -163,7 +163,7 @@ static bool_t IO_read(IOData_t *io)
ssize_t St;
bool_t ret = FALSE;
int io_key = io->Key;
- void *conn = a_Ssl_connection(io->FD);
+ void *conn = a_Tls_connection(io->FD);
_MSG(" IO_read\n");
@@ -172,7 +172,7 @@ static bool_t IO_read(IOData_t *io)
io->Status = 0;
while (1) {
- St = conn ? a_Ssl_read(conn, Buf, IOBufLen)
+ St = conn ? a_Tls_read(conn, Buf, IOBufLen)
: read(io->FD, Buf, IOBufLen);
if (St > 0) {
dStr_append_l(io->Buf, Buf, St);
@@ -217,13 +217,13 @@ static bool_t IO_write(IOData_t *io)
{
ssize_t St;
bool_t ret = FALSE;
- void *conn = a_Ssl_connection(io->FD);
+ void *conn = a_Tls_connection(io->FD);
_MSG(" IO_write\n");
io->Status = 0;
while (1) {
- St = conn ? a_Ssl_write(conn, io->Buf->str, io->Buf->len)
+ St = conn ? a_Tls_write(conn, io->Buf->str, io->Buf->len)
: write(io->FD, io->Buf->str, io->Buf->len);
if (St < 0) {
/* Error */