diff --git a/ChangeLog b/ChangeLog index 047232b..cbf8124 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ 0.9.2 + - OpenSSL tls module verifies certificate by default. Set flag + XMPP_CONN_FLAG_TRUST_TLS to ignore result of the verification - Certificate hostname verification is forced for openssl-1.0.2 and newer - OpenSSL tls module disables insecure SSLv2 SSLv3 and TLSv1 @@ -6,7 +8,9 @@ userdata - System handlers are deleted on xmpp_conn_t reconnection. Old system handlers could cause problems - - New public function xmpp_sha1_digest() + - New functions: + - xmpp_ctx_set_timeout() + - xmpp_sha1_digest() 0.9.1 - Fixed bug #95 (DNS lookup failing on Cygwin) diff --git a/strophe.h b/strophe.h index a99d7c6..8ca53fd 100644 --- a/strophe.h +++ b/strophe.h @@ -117,7 +117,6 @@ typedef struct _xmpp_ctx_t xmpp_ctx_t; xmpp_ctx_t *xmpp_ctx_new(const xmpp_mem_t * const mem, const xmpp_log_t * const log); void xmpp_ctx_free(xmpp_ctx_t * const ctx); -void xmpp_ctx_set_timeout(xmpp_ctx_t * const ctx, const unsigned long timeout); /* free some blocks returned by other APIs, for example the buffer you get from xmpp_stanza_to_text */ @@ -399,6 +398,7 @@ char *xmpp_jid_resource(xmpp_ctx_t *ctx, const char *jid); void xmpp_run_once(xmpp_ctx_t *ctx, const unsigned long timeout); void xmpp_run(xmpp_ctx_t *ctx); void xmpp_stop(xmpp_ctx_t *ctx); +void xmpp_ctx_set_timeout(xmpp_ctx_t * const ctx, const unsigned long timeout); /* UUID */