summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/openssl-compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nixio/src/openssl-compat.c')
-rw-r--r--libs/nixio/src/openssl-compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/nixio/src/openssl-compat.c b/libs/nixio/src/openssl-compat.c
index ee7600c08..2c5b746c2 100644
--- a/libs/nixio/src/openssl-compat.c
+++ b/libs/nixio/src/openssl-compat.c
@@ -264,7 +264,7 @@ int SSL_CTX_set_cipher_list(SSL_CTX *s, const char *str)
int SSL_get_error(const SSL *ssl, int ret)
{
ssl_display_error(ret);
- return 0; /* TODO: return proper return code */
+ return ret; /* TODO: return proper return code */
}
void SSL_CTX_set_options(SSL_CTX *ssl_ctx, int option) {}