bmh10 / rpms / openssh

Forked from rpms/openssh 2 days ago
Clone

Blame SOURCES/pam_ssh_agent_auth-0.9.2-visibility.patch

3e8b5b
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
3e8b5b
--- 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
3e8b5b
+++ openssh-7.1p2/pam_ssh_agent_auth-0.10.2/pam_ssh_agent_auth.c	2016-01-22 15:22:40.984469774 +0100
3e8b5b
@@ -72,7 +72,7 @@ char           *__progname;
3e8b5b
 extern char    *__progname;
3e8b5b
 #endif
3e8b5b
 
3e8b5b
-PAM_EXTERN int
3e8b5b
+PAM_EXTERN int __attribute__ ((visibility ("default")))
3e8b5b
 pam_sm_authenticate(pam_handle_t * pamh, int flags, int argc, const char **argv)
3e8b5b
 {
3e8b5b
     char          **argv_ptr;
3e8b5b
@@ -214,7 +214,7 @@ cleanexit:
3e8b5b
 }
3e8b5b
 
3e8b5b
 
3e8b5b
-PAM_EXTERN int
3e8b5b
+PAM_EXTERN int __attribute__ ((visibility ("default")))
3e8b5b
 pam_sm_setcred(pam_handle_t * pamh, int flags, int argc, const char **argv)
3e8b5b
 {
3e8b5b
     UNUSED(pamh);