git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: use pkg-config for i18n
[exim.git]
/
src
/
src
/
auths
/
call_pwcheck.c
diff --git
a/src/src/auths/call_pwcheck.c
b/src/src/auths/call_pwcheck.c
index c029cba68f2d59b2a5c894726118b646d23b195a..88f708f627631e9e9afc79b28a7faa567da79894 100644
(file)
--- a/
src/src/auths/call_pwcheck.c
+++ b/
src/src/auths/call_pwcheck.c
@@
-1,11
+1,11
@@
-/* $Cambridge: exim/src/src/auths/call_pwcheck.c,v 1.1 2004/10/07 13:10:01 ph10 Exp $ */
-
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
/*************************************************
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 2004 */
+/* Copyright (c) University of Cambridge 1995 - 2015 */
+/* Copyright (c) The Exim Maintainers 2020 */
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/* This module contains interface functions to the two Cyrus authentication
daemons. The original one was "pwcheck", which gives its name to the source
/* This module contains interface functions to the two Cyrus authentication
daemons. The original one was "pwcheck", which gives its name to the source
@@
-51,7
+51,7
@@
if (pw == NULL)
DEBUG(D_auth)
debug_printf("Running pwcheck authentication for user \"%s\"\n", s);
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);
{
case PWCHECK_OK:
DEBUG(D_auth) debug_printf("pwcheck: success (%s)\n", reply);
@@
-90,8
+90,8
@@
Returns: OK if authentication succeeded
*/
int
*/
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;
{
uschar *reply = NULL;