projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f5b4f
)
added error return and available check
author
Felix Morgner
<felix.morgner@gmail.com>
Fri, 30 Jan 2015 13:44:20 +0000
(14:44 +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 eb15b7a84153219ea75ade443d499bf2ac9580ca..b2e149e719d399b77b82a9d3c3aa470c12f73a25 100644
(file)
--- a/
src/ssli_gnutls.c
+++ b/
src/ssli_gnutls.c
@@
-105,6
+105,16
@@
int SSLi_write(SSL_handle_t *session, uint8_t *buffer, int length)
return gnutls_record_send(*session, buffer, length);
}
+int SSLi_get_error(SSL_handle_t *session, int code)
+ {
+ return code;
+ }
+
+bool_t SSLi_data_pending(SSL_handle_t *session)
+ {
+ return gnutls_record_check_pending(*session);
+ }
+
void SSLi_shutdown(SSL_handle_t *ssl)
{
}