File: auth-pam_libpam_so_filename.patch

package info (click to toggle)
openvpn 2.2.1-8%2Bdeb7u3
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 8,960 kB
  • sloc: ansic: 60,297; sh: 5,704; python: 631; makefile: 282; perl: 242; awk: 13
file content (16 lines) | stat: -rw-r--r-- 630 bytes parent folder | download
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-2.2.1/plugin/auth-pam/auth-pam.c
===================================================================
--- openvpn-2.2.1.orig/plugin/auth-pam/auth-pam.c	2011-12-13 12:41:58.693936739 +0100
+++ openvpn-2.2.1/plugin/auth-pam/auth-pam.c	2011-12-13 12:42:00.146918574 +0100
@@ -688,7 +688,7 @@
   struct user_pass up;
   int command;
 #if DLOPEN_PAM
-  static const char pam_so[] = "libpam.so";
+  static const char pam_so[] = "libpam.so.0";
 #endif
 
   /*