aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/polarssl.h
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.h
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.h')
-rw-r--r--lib/vtls/polarssl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/polarssl.h b/lib/vtls/polarssl.h
index 47af7b417..c7b184941 100644
--- a/lib/vtls/polarssl.h
+++ b/lib/vtls/polarssl.h
@@ -31,7 +31,7 @@
/* Called on first use PolarSSL, setup threading if supported */
int Curl_polarssl_init(void);
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);
CURLcode Curl_polarssl_connect(struct connectdata *conn, int sockindex);