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
/
pwcheck.c
diff --git
a/src/src/auths/pwcheck.c
b/src/src/auths/pwcheck.c
index f733b9898046d94523a59ee7523ff82c901a11ed..bf305832f41567e1c2fb392126adbf363821da81 100644
(file)
--- a/
src/src/auths/pwcheck.c
+++ b/
src/src/auths/pwcheck.c
@@
-3,6
+3,8
@@
* Tim Martin
* $Id: checkpw.c,v 1.49 2002/03/07 19:14:04 ken3 Exp $
*/
* Tim Martin
* $Id: checkpw.c,v 1.49 2002/03/07 19:14:04 ken3 Exp $
*/
+/* Copyright (c) The Exim Maintainers 2021 - 2022 */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (c) 2001 Carnegie Mellon University. All rights reserved.
*
/*
* Copyright (c) 2001 Carnegie Mellon University. All rights reserved.
*
@@
-86,8
+88,6
@@
int pwcheck_verify_password(const char *userid,
const char *passwd,
const char **reply)
{
const char *passwd,
const char **reply)
{
-userid = userid; /* Keep picky compilers happy */
-passwd = passwd;
*reply = "pwcheck support is not included in this Exim binary";
return PWCHECK_FAIL;
}
*reply = "pwcheck support is not included in this Exim binary";
return PWCHECK_FAIL;
}
@@
-163,10
+163,6
@@
int saslauthd_verify_password(const uschar *userid,
const uschar *realm,
const uschar **reply)
{
const uschar *realm,
const uschar **reply)
{
-userid = userid; /* Keep picky compilers happy */
-passwd = passwd;
-service = service;
-realm = realm;
*reply = US"saslauthd support is not included in this Exim binary";
return PWCHECK_FAIL;
}
*reply = US"saslauthd support is not included in this Exim binary";
return PWCHECK_FAIL;
}
@@
-297,7
+293,7
@@
static int read_string(int fd, uschar **retval) {
return -1;
} else {
/* Assume the file is trusted, so no tainting */
return -1;
} else {
/* Assume the file is trusted, so no tainting */
- *retval = store_get(count + 1,
FALSE
);
+ *retval = store_get(count + 1,
GET_UNTAINTED
);
rc = (retry_read(fd, *retval, count) < (int) count);
(*retval)[count] = '\0';
return count;
rc = (retry_read(fd, *retval, count) < (int) count);
(*retval)[count] = '\0';
return count;