aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-10-24 14:37:31 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-10-24 14:37:31 +0200
commitf364e29ed1eff3dd4347da54443b77f4c54dbd73 (patch)
tree1a1b99090cf6c9de90593b668963199380a0ebf5
parent3f43a83f15e6a7e50bb4599e9982f918b0449e91 (diff)
pam_agl: remove unused function
Change-Id: Ia55953111b662500c013787d58052afe5fcf6997 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--pam_agl/pam_agl.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/pam_agl/pam_agl.c b/pam_agl/pam_agl.c
index 0eea11a..c85979d 100644
--- a/pam_agl/pam_agl.c
+++ b/pam_agl/pam_agl.c
@@ -60,19 +60,6 @@ char* get_file_content(const char* path)
return buffer;
}
-void pam_putenv_ex(pam_handle_t* pamh, const char* name, const char* value)
-{
- char result[4096];
- strcpy(result, name);
-
- int offset = strlen(name);
- result[offset] = '=';
-
- strcpy(result + offset + 1, value);
-
- pam_putenv(pamh, result);
-}
-
int read_device(const char* device, char** idkey)
{
int fd;