Don't log the text we read, it may contain sensitive information (such
as an OATH OTP key, since liboath uses openpam_readline() to read the keyfile) git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@703 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
parent
a02762c066
commit
efa93c4a5f
|
@ -100,7 +100,6 @@ openpam_readline(FILE *f, int *lineno, size_t *lenp)
|
|||
goto fail;
|
||||
if (lenp != NULL)
|
||||
*lenp = len;
|
||||
openpam_log(PAM_LOG_LIBDEBUG, "returning '%s'", line);
|
||||
return (line);
|
||||
fail:
|
||||
FREE(line);
|
||||
|
|
Loading…
Reference in New Issue