summaryrefslogtreecommitdiffstats
path: root/lib/openpam_ttyconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/openpam_ttyconv.c')
-rw-r--r--lib/openpam_ttyconv.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/openpam_ttyconv.c b/lib/openpam_ttyconv.c
index a6820b9..ec078f4 100644
--- a/lib/openpam_ttyconv.c
+++ b/lib/openpam_ttyconv.c
@@ -1,6 +1,6 @@
/*-
* Copyright (c) 2002-2003 Networks Associates Technology, Inc.
- * Copyright (c) 2004-2007 Dag-Erling Smørgrav
+ * Copyright (c) 2004-2011 Dag-Erling Smørgrav
* All rights reserved.
*
* This software was developed for the FreeBSD Project by ThinkSec AS and
@@ -32,9 +32,13 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: openpam_ttyconv.c 408 2007-12-21 11:36:24Z des $
+ * $Id: openpam_ttyconv.c 437 2011-09-13 12:00:13Z des $
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <sys/types.h>
#include <ctype.h>
@@ -211,7 +215,7 @@ openpam_ttyconv(int n,
}
*resp = aresp;
RETURNC(PAM_SUCCESS);
- fail:
+fail:
for (i = 0; i < n; ++i) {
if (aresp[i].resp != NULL) {
memset(aresp[i].resp, 0, strlen(aresp[i].resp));
OpenPOWER on IntegriCloud