forked from rpms/openssh
87ab5fc4af
* Rebase to latest upstream version * Clean up older patches for pam_ssh_agent_auth * Remove prefixes from upstream release so we can build it against current openssh library * Remove copied files and headers so we make sure we build against current openssh
22 lines
849 B
Diff
22 lines
849 B
Diff
diff -up openssh-7.1p2/pam_ssh_agent_auth-0.10.2/pam_ssh_agent_auth.c.psaa-visibility openssh-7.1p2/pam_ssh_agent_auth-0.10.2/pam_ssh_agent_auth.c
|
|
--- openssh-7.1p2/pam_ssh_agent_auth-0.10.2/pam_ssh_agent_auth.c.psaa-visibility 2014-03-31 19:35:17.000000000 +0200
|
|
+++ openssh-7.1p2/pam_ssh_agent_auth-0.10.2/pam_ssh_agent_auth.c 2016-01-22 15:22:40.984469774 +0100
|
|
@@ -72,7 +72,7 @@ char *__progname;
|
|
extern char *__progname;
|
|
#endif
|
|
|
|
-PAM_EXTERN int
|
|
+PAM_EXTERN int __attribute__ ((visibility ("default")))
|
|
pam_sm_authenticate(pam_handle_t * pamh, int flags, int argc, const char **argv)
|
|
{
|
|
char **argv_ptr;
|
|
@@ -214,7 +214,7 @@ cleanexit:
|
|
}
|
|
|
|
|
|
-PAM_EXTERN int
|
|
+PAM_EXTERN int __attribute__ ((visibility ("default")))
|
|
pam_sm_setcred(pam_handle_t * pamh, int flags, int argc, const char **argv)
|
|
{
|
|
UNUSED(pamh);
|