git://git.exim.org
/
users
/
heiko
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6454662
)
Authenticators: feature handling for upcoming GSASL version
author
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 1 Jan 2021 17:31:04 +0000
(17:31 +0000)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Fri, 1 Jan 2021 17:34:29 +0000
(17:34 +0000)
src/src/auths/gsasl_exim.c
patch
|
blob
|
history
diff --git
a/src/src/auths/gsasl_exim.c
b/src/src/auths/gsasl_exim.c
index 1aee4f7e74304637d1cbc86039985b723632fe06..12713705b4c1a776547e0c8773d305a471234568 100644
(file)
--- a/
src/src/auths/gsasl_exim.c
+++ b/
src/src/auths/gsasl_exim.c
@@
-39,7
+39,11
@@
static void dummy(int x) { dummy2(x-1); }
#include "gsasl_exim.h"
#include "gsasl_exim.h"
-#if GSASL_VERSION_MINOR >= 9
+#if GSASL_VERSION_MINOR >= 10
+# define EXIM_GSASL_HAVE_SCRAM_SHA_256
+# define EXIM_GSASL_SCRAM_S_KEY
+
+#elif GSASL_VERSION_MINOR == 9
# define EXIM_GSASL_HAVE_SCRAM_SHA_256
# if GSASL_VERSION_PATCH >= 1
# define EXIM_GSASL_HAVE_SCRAM_SHA_256
# if GSASL_VERSION_PATCH >= 1
@@
-48,6
+52,7
@@
static void dummy(int x) { dummy2(x-1); }
# if GSASL_VERSION_PATCH < 2
# define CHANNELBIND_HACK
# endif
# if GSASL_VERSION_PATCH < 2
# define CHANNELBIND_HACK
# endif
+
#else
# define CHANNELBIND_HACK
#endif
#else
# define CHANNELBIND_HACK
#endif