summaryrefslogtreecommitdiff
path: root/debian/patches/auth-pam_libpam_so_filename.patch
blob: f3f5f0c3f0e5179eef9aee47ce81a5fd9bd8dd46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix libpam.so filename to /lib/libpam.so.0 in pam plugin
Author: Alberto Gonzalez Iniesta <agi@inittab.org>
Bug-Debian: http://bugs.debian.org/306335
Index: openvpn/src/plugins/auth-pam/auth-pam.c
===================================================================
--- openvpn.orig/src/plugins/auth-pam/auth-pam.c	2016-11-21 09:53:25.512782138 +0100
+++ openvpn/src/plugins/auth-pam/auth-pam.c	2016-11-21 09:53:25.512782138 +0100
@@ -632,7 +632,7 @@
   struct user_pass up;
   int command;
 #ifdef USE_PAM_DLOPEN
-  static const char pam_so[] = "libpam.so";
+  static const char pam_so[] = "libpam.so.0";
 #endif
 
   /*