diff options
-rw-r--r-- | src/openssl_stream.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/openssl_stream.c b/src/openssl_stream.c index dd4cd6118..b8ab21fef 100644 --- a/src/openssl_stream.c +++ b/src/openssl_stream.c @@ -522,9 +522,8 @@ ssize_t openssl_read(git_stream *stream, void *data, size_t len) openssl_stream *st = (openssl_stream *) stream; int ret; - if ((ret = SSL_read(st->ssl, data, len)) <= 0) { + if ((ret = SSL_read(st->ssl, data, len)) <= 0) return ssl_set_error(st->ssl, ret); - } return ret; } |