[exim-cvs] Fix AUTH_GSASL build

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Exim Git Commits Mailing List
Date:  
À: exim-cvs
Sujet: [exim-cvs] Fix AUTH_GSASL build
Gitweb: https://git.exim.org/exim.git/commitdiff/d0858b275a1db481912b6f6ff1513940583ebd41
Commit:     d0858b275a1db481912b6f6ff1513940583ebd41
Parent:     cde93db00d4f5cff864070ebfed2d0c36e532e71
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Nov 24 15:37:54 2018 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Nov 24 15:37:54 2018 +0000


    Fix AUTH_GSASL build
---
 src/src/auths/gsasl_exim.c | 12 ++++++------
 src/src/auths/gsasl_exim.h |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)


diff --git a/src/src/auths/gsasl_exim.c b/src/src/auths/gsasl_exim.c
index 0e3a916..26aa754 100644
--- a/src/src/auths/gsasl_exim.c
+++ b/src/src/auths/gsasl_exim.c
@@ -84,7 +84,7 @@ auth_gsasl_options_block auth_gsasl_option_defaults = {
/* Dummy values */
void auth_gsasl_init(auth_instance *ablock) {}
int auth_gsasl_server(auth_instance *ablock, uschar *data) {return 0;}
-int auth_gsasl_client(auth_instance *ablock, void * sx,
+int auth_gsasl_client(auth_instance *ablock, smtp_inblock * sx,
int timeout, uschar *buffer, int buffsize) {return 0;}
void auth_gsasl_version_report(FILE *f) {}

@@ -587,11 +587,11 @@ server_callback(Gsasl *ctx, Gsasl_session *sctx, Gsasl_property prop, auth_insta

 int
 auth_gsasl_client(
-  auth_instance *ablock,                 /* authenticator block */
-  void * sx,                 /* connection */
-  int timeout,                           /* command timeout */
-  uschar *buffer,                        /* buffer for reading response */
-  int buffsize)                          /* size of buffer */
+  auth_instance *ablock,        /* authenticator block */
+  smtp_inblock * sx,            /* connection */
+  int timeout,                /* command timeout */
+  uschar *buffer,            /* buffer for reading response */
+  int buffsize)                /* size of buffer */
 {
   HDEBUG(D_auth)
     debug_printf("Client side NOT IMPLEMENTED: you should not see this!\n");
diff --git a/src/src/auths/gsasl_exim.h b/src/src/auths/gsasl_exim.h
index 785b853..8842165 100644
--- a/src/src/auths/gsasl_exim.h
+++ b/src/src/auths/gsasl_exim.h
@@ -36,7 +36,7 @@ extern auth_gsasl_options_block auth_gsasl_option_defaults;
 extern void auth_gsasl_init(auth_instance *);
 extern int auth_gsasl_server(auth_instance *, uschar *);
 extern int auth_gsasl_client(auth_instance *, smtp_inblock *,
-                                smtp_outblock *, int, uschar *, int);
+                int, uschar *, int);
 extern void auth_gsasl_version_report(FILE *f);


/* End of gsasl_exim.h */