aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/polarssl.c
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-06-25 13:06:54 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-28 14:56:55 +0200
commit2568cfed2da753c25adb0b803672ee40e7eb6c65 (patch)
tree382d123e4408dcb6b1e3d55fa83c8055ce2ba1df /lib/vtls/polarssl.c
parentb31d1dcddb6dc7a111d2d8a8806c55ab439e76a7 (diff)
vtls: make sure all _data_pending() functions return bool
This patch makes the signature of the _data_pending() functions consistent among the SSL backends, in preparation for unifying the way all SSL backends are accessed. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'lib/vtls/polarssl.c')
-rw-r--r--lib/vtls/polarssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/polarssl.c b/lib/vtls/polarssl.c
index 669091cb5..8b66a247d 100644
--- a/lib/vtls/polarssl.c
+++ b/lib/vtls/polarssl.c
@@ -865,7 +865,7 @@ void Curl_polarssl_cleanup(void)
}
-int Curl_polarssl_data_pending(const struct connectdata *conn, int sockindex)
+bool Curl_polarssl_data_pending(const struct connectdata *conn, int sockindex)
{
return ssl_get_bytes_avail(&conn->ssl[sockindex].ssl) != 0;
}