[exim-cvs] Authenticators: feature handling for upcoming GSA…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Exim Git Commits Mailing List
Datum:  
To: exim-cvs
Betreff: [exim-cvs] Authenticators: feature handling for upcoming GSASL version
Gitweb: https://git.exim.org/exim.git/commitdiff/90c2ddb98a7ae6ce99fb8f6312abbe34b7f561ba
Commit:     90c2ddb98a7ae6ce99fb8f6312abbe34b7f561ba
Parent:     6454662ecb9e407c0616f0464c3e1f69829d14cf
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Fri Jan 1 17:31:04 2021 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Fri Jan 1 17:34:29 2021 +0000


    Authenticators: feature handling for upcoming GSASL version
---
 src/src/auths/gsasl_exim.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


diff --git a/src/src/auths/gsasl_exim.c b/src/src/auths/gsasl_exim.c
index 1aee4f7..1271370 100644
--- 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"


-#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
@@ -48,6 +52,7 @@ static void dummy(int x) { dummy2(x-1); }
# if GSASL_VERSION_PATCH < 2
# define CHANNELBIND_HACK
# endif
+
#else
# define CHANNELBIND_HACK
#endif