X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fauths%2Fcall_pwcheck.c;h=cf21a18c0cf347a37fef848ffb4f150e0a711bfa;hb=23f2e90d7982f35e7a94a9df3128c1e574a26770;hp=b78911041c6f9940b9d36f4727713defea1bdf28;hpb=184e88237dea64ce48076cdd0184612d057cbafd;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/auths/call_pwcheck.c b/src/src/auths/call_pwcheck.c index b78911041..cf21a18c0 100644 --- a/src/src/auths/call_pwcheck.c +++ b/src/src/auths/call_pwcheck.c @@ -1,10 +1,8 @@ -/* $Cambridge: exim/src/src/auths/call_pwcheck.c,v 1.4 2007/01/08 10:50:19 ph10 Exp $ */ - /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2007 */ +/* Copyright (c) University of Cambridge 1995 - 2015 */ /* See the file NOTICE for conditions of use and distribution. */ /* This module contains interface functions to the two Cyrus authentication @@ -51,7 +49,7 @@ if (pw == NULL) DEBUG(D_auth) debug_printf("Running pwcheck authentication for user \"%s\"\n", s); -switch (pwcheck_verify_password(CS s, CS pw, (const char **)(&reply))) +switch (pwcheck_verify_password(CS s, CS pw, CCSS &reply)) { case PWCHECK_OK: DEBUG(D_auth) debug_printf("pwcheck: success (%s)\n", reply); @@ -90,8 +88,8 @@ Returns: OK if authentication succeeded */ int -auth_call_saslauthd(uschar *username, uschar *password, uschar *service, - uschar *realm, uschar **errptr) +auth_call_saslauthd(const uschar *username, const uschar *password, + const uschar *service, const uschar *realm, uschar **errptr) { uschar *reply = NULL;