Skip to content

Commit d38ecd5

Browse files
committed
Add XMPP_CONN_FLAG_DIRECT_TLS.
... which aliases `XMPP_CONN_FLAG_LEGACY_SSL`. This was called 'legacy', when everyone thought STARTTLS is the future, but that turned out differently and direct TLS is recommended nowadays. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent b7a3058 commit d38ecd5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

strophe.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ typedef struct _xmpp_sm_t xmpp_sm_state_t;
188188
#define XMPP_CONN_FLAG_DISABLE_TLS (1UL << 0)
189189
#define XMPP_CONN_FLAG_MANDATORY_TLS (1UL << 1)
190190
#define XMPP_CONN_FLAG_LEGACY_SSL (1UL << 2)
191+
#define XMPP_CONN_FLAG_DIRECT_TLS XMPP_CONN_FLAG_LEGACY_SSL
191192
/** @def XMPP_CONN_FLAG_TRUST_TLS
192193
* Trust server's certificate even if it is invalid.
193194
*/

0 commit comments

Comments
 (0)