diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2024-02-11 19:11:24 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2024-02-11 19:11:24 -0300 |
commit | 230a70d02e13123436815635a41824f906671505 (patch) | |
tree | 478c27a66deb81a03e81c1b4bb8d241990dd5a2b /src/common/hexchat.h | |
parent | 014b242df803089c34084de3d806a7c4e4dad75e (diff) | |
parent | b544ac3350e85d4cc41fe3414cbdb82d75ce5d7a (diff) |
Merge remote-tracking branch 'upstream/master' into default
Diffstat (limited to 'src/common/hexchat.h')
-rw-r--r-- | src/common/hexchat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/hexchat.h b/src/common/hexchat.h index 470dd4ad..5ead96d1 100644 --- a/src/common/hexchat.h +++ b/src/common/hexchat.h @@ -41,6 +41,7 @@ #ifdef USE_OPENSSL #include <openssl/ssl.h> /* SSL_() */ +#include "scram.h" #endif #ifdef __EMX__ /* for o/s 2 */ @@ -150,6 +151,7 @@ struct hexchatprefs unsigned int hex_gui_ulist_style; unsigned int hex_gui_usermenu; unsigned int hex_gui_win_modes; + unsigned int hex_gui_win_nick; unsigned int hex_gui_win_save; unsigned int hex_gui_win_swap; unsigned int hex_gui_win_ucount; @@ -429,6 +431,9 @@ typedef struct session /* SASL Mechanisms */ #define MECH_PLAIN 0 #define MECH_EXTERNAL 1 +#define MECH_SCRAM_SHA_1 2 +#define MECH_SCRAM_SHA_256 3 +#define MECH_SCRAM_SHA_512 4 typedef struct server { @@ -584,6 +589,7 @@ typedef struct server #ifdef USE_OPENSSL unsigned int use_ssl:1; /* is server SSL capable? */ unsigned int accept_invalid_cert:1;/* ignore result of server's cert. verify */ + scram_session *scram_session; /* session for SASL SCRAM authentication */ #endif } server; |