summaryrefslogtreecommitdiff
path: root/src/rexmpp.h
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2023-09-23 11:35:39 +0300
committerdefanor <defanor@uberspace.net>2023-09-24 13:14:42 +0300
commit7a63d327772dc64978e9159d49885a9ae7dd9b4e (patch)
treee3201f3fd56236a223ffc0f8be70f1b9950d6ad0 /src/rexmpp.h
parent4ea2ee3870d95b6d95c8e9c7c08277bc9d34d5e0 (diff)
Move GnuTLS operations from Jingle module into TLS module
Diffstat (limited to 'src/rexmpp.h')
-rw-r--r--src/rexmpp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rexmpp.h b/src/rexmpp.h
index a3df757..8cc78ed 100644
--- a/src/rexmpp.h
+++ b/src/rexmpp.h
@@ -289,6 +289,12 @@ struct rexmpp
uint32_t iq_cache_size;
uint32_t max_jingle_sessions;
+ /* X.509 settings: for TLS and DTLS, to use for SASL EXTERNAL
+ authentication and DTLS-SRTP on Jingle calls. */
+ const char *x509_key_file;
+ const char *x509_cert_file;
+ const char *x509_trust_file;
+
/* Callbacks. */
log_function_t log_function;
sasl_property_cb_t sasl_property_cb;