projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d55c5e7
)
added writing
author
Felix Morgner
<felix.morgner@gmail.com>
Fri, 30 Jan 2015 13:41:32 +0000
(14:41 +0100)
committer
Felix Morgner
<felix.morgner@gmail.com>
Sat, 31 Jan 2015 12:12:20 +0000
(13:12 +0100)
src/ssli_gnutls.c
patch
|
blob
|
history
diff --git
a/src/ssli_gnutls.c
b/src/ssli_gnutls.c
index 8883757d279f061b982e0d2409babdbd9208ddc0..eb15b7a84153219ea75ade443d499bf2ac9580ca 100644
(file)
--- a/
src/ssli_gnutls.c
+++ b/
src/ssli_gnutls.c
@@
-100,6
+100,11
@@
int SSLi_read(SSL_handle_t *session, uint8_t *buffer, int length)
return gnutls_record_recv(*session, buffer, length);
}
+int SSLi_write(SSL_handle_t *session, uint8_t *buffer, int length)
+ {
+ return gnutls_record_send(*session, buffer, length);
+ }
+
void SSLi_shutdown(SSL_handle_t *ssl)
{
}