rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone

Blame SOURCES/pam_ssh_agent_auth-0.9.2-visibility.patch

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