add SCRAM-SHA-256 and SCRAM-SHA-512 support
This commit is contained in:
committed by
Dmitry Podgorny
parent
fc064bc883
commit
771d5865ae
@@ -136,8 +136,11 @@ struct _xmpp_handlist_t {
|
||||
#define SASL_MASK_DIGESTMD5 (1 << 1)
|
||||
#define SASL_MASK_ANONYMOUS (1 << 2)
|
||||
#define SASL_MASK_SCRAMSHA1 (1 << 3)
|
||||
#define SASL_MASK_SCRAMSHA256 (1 << 4)
|
||||
#define SASL_MASK_SCRAMSHA512 (1 << 5)
|
||||
|
||||
#define SASL_MASK_SCRAM (SASL_MASK_SCRAMSHA1)
|
||||
#define SASL_MASK_SCRAM \
|
||||
(SASL_MASK_SCRAMSHA1 | SASL_MASK_SCRAMSHA256 | SASL_MASK_SCRAMSHA512)
|
||||
|
||||
enum {
|
||||
XMPP_PORT_CLIENT = 5222,
|
||||
|
||||
Reference in New Issue
Block a user