diff options
Diffstat (limited to 'pam_agl/pam_agl.c')
-rw-r--r-- | pam_agl/pam_agl.c | 13 |
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; |