aboutsummaryrefslogtreecommitdiff
path: root/plugin/auth-pam/pamdl.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-11-01 04:58:01 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-11-01 04:58:01 +0000
commit5b78d4d0e39eddddaeb7ebca075e0468849c3232 (patch)
tree6dc42a7e34b8dc0e6f9e204f81416a8816adeae3 /plugin/auth-pam/pamdl.c
parentMerged Alon's branch: (diff)
downloadopenvpn-5b78d4d0e39eddddaeb7ebca075e0468849c3232.tar.xz
auth-pam change: link with -lpam rather
than dlopen (Roy Marples). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1421 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--plugin/auth-pam/pamdl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/auth-pam/pamdl.c b/plugin/auth-pam/pamdl.c
index aaac240..8636a8e 100644
--- a/plugin/auth-pam/pamdl.c
+++ b/plugin/auth-pam/pamdl.c
@@ -10,7 +10,6 @@
#include <stdio.h>
#include <dlfcn.h>
#include <security/pam_appl.h>
-#include <security/_pam_macros.h>
#include "pamdl.h"
@@ -74,7 +73,7 @@ int pam_set_item(pam_handle_t *pamh, int item_type, const void *item)
return real_pam_set_item(pamh, item_type, item);
}
-int pam_get_item(const pam_handle_t *pamh, int item_type, const void **item)
+int pam_get_item(pam_handle_t *pamh, int item_type, const void **item)
{
int (*real_pam_get_item)(const pam_handle_t *, int, const void **);
RESOLVE_PAM_FUNCTION(pam_get_item, int,