blob: b70fd587dbc6c73cb450c6aea8262facc2eef3ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* ISC license. */
#include <pamela/pam.h>
#include <pamela/compat.h>
int pam_misc_paste_env (pam_handle_t *pamh, char const *const *envp)
{
for (; *envp ; envp++)
{
int e = pam_putenv(pamh, *envp) ;
if (e != PAM_SUCCESS) return e ;
}
return PAM_SUCCESS ;
}
|