summaryrefslogtreecommitdiff
path: root/uclient-backend.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-25 15:39:58 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-03-25 15:39:58 +0100
commit25e44fc1e666fb333b3c53bcda90e44b0b74bf19 (patch)
tree862dab31924730fb0402079cad608726536281b7 /uclient-backend.h
parent8bbe2130890db78856bb5731fa3e16a71d549bfe (diff)
downloaduclient-25e44fc1e666fb333b3c53bcda90e44b0b74bf19.tar.gz
implement optional SSL certificate validation (including CN host check)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient-backend.h')
-rw-r--r--uclient-backend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/uclient-backend.h b/uclient-backend.h
index fdebf26..308cd57 100644
--- a/uclient-backend.h
+++ b/uclient-backend.h
@@ -28,7 +28,7 @@ struct uclient_url {
const char *auth;
};
-void uclient_backend_set_error(struct uclient *cl);
+void uclient_backend_set_error(struct uclient *cl, int code);
void uclient_backend_set_eof(struct uclient *cl);
void uclient_backend_reset_state(struct uclient *cl);
struct uclient_url *uclient_get_url(const char *url_str, const char *auth_str);