X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fauths%2Fcall_pwcheck.c;h=0adde4471caea5f94d2abbc0a05371287b831928;hb=20395676aba7fa5eb9a2c5e0b9f582ec2b3e71e4;hp=2129aff24ab8d3470b324fe89fa93ad594d245ef;hpb=0a49a7a4f1090b6f1ce1d0f9d969804c9226b53e;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/auths/call_pwcheck.c b/src/src/auths/call_pwcheck.c index 2129aff24..0adde4471 100644 --- a/src/src/auths/call_pwcheck.c +++ b/src/src/auths/call_pwcheck.c @@ -1,10 +1,9 @@ -/* $Cambridge: exim/src/src/auths/call_pwcheck.c,v 1.5 2009/11/16 19:50:38 nm4 Exp $ */ - /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2009 */ +/* Copyright (c) University of Cambridge 1995 - 2015 */ +/* Copyright (c) The Exim Maintainers 2020 */ /* See the file NOTICE for conditions of use and distribution. */ /* This module contains interface functions to the two Cyrus authentication @@ -51,7 +50,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 +89,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;