Deleted Added
full compact
pam_vinfo.c (91094) pam_vinfo.c (91100)
1/*-
2 * Copyright (c) 2002 Networks Associates Technologies, Inc.
3 * All rights reserved.
4 *
5 * This software was developed for the FreeBSD Project by ThinkSec AS and
6 * NAI Labs, the Security Research Division of Network Associates, Inc.
7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
8 * DARPA CHATS research program.

--- 44 unchanged lines hidden (view full) ---

53{
54 char *rsp;
55 int r;
56
57 r = pam_vprompt(pamh, PAM_TEXT_INFO, &rsp, fmt, ap);
58 free(rsp); /* ignore response */
59 return (r);
60}
1/*-
2 * Copyright (c) 2002 Networks Associates Technologies, Inc.
3 * All rights reserved.
4 *
5 * This software was developed for the FreeBSD Project by ThinkSec AS and
6 * NAI Labs, the Security Research Division of Network Associates, Inc.
7 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the
8 * DARPA CHATS research program.

--- 44 unchanged lines hidden (view full) ---

53{
54 char *rsp;
55 int r;
56
57 r = pam_vprompt(pamh, PAM_TEXT_INFO, &rsp, fmt, ap);
58 free(rsp); /* ignore response */
59 return (r);
60}
61
62/*
63 * Error codes:
64 *
65 * !PAM_SYMBOL_ERR
66 * PAM_SYSTEM_ERR
67 * PAM_BUF_ERR
68 * PAM_CONV_ERR
69 */
70
71/**
72 * The =pam_vinfo function passes its arguments to =pam_vprompt with a
73 * =style argument of =PAM_TEXT_INFO, and discards the response.
74 *
75 * >pam_info
76 * >pam_verror
77 */