diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-25 15:39:58 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-25 15:39:58 +0100 |
commit | 25e44fc1e666fb333b3c53bcda90e44b0b74bf19 (patch) | |
tree | 862dab31924730fb0402079cad608726536281b7 /uclient-backend.h | |
parent | 8bbe2130890db78856bb5731fa3e16a71d549bfe (diff) | |
download | uclient-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.h | 2 |
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); |