summaryrefslogtreecommitdiff
path: root/security/pam_p11/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/pam_p11/files')
-rw-r--r--security/pam_p11/files/patch-configure20
-rw-r--r--security/pam_p11/files/patch-src_pam_p11.c11
-rw-r--r--security/pam_p11/files/patch-src_test.c11
3 files changed, 42 insertions, 0 deletions
diff --git a/security/pam_p11/files/patch-configure b/security/pam_p11/files/patch-configure
new file mode 100644
index 000000000000..dc08d1710120
--- /dev/null
+++ b/security/pam_p11/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Thu Jun 1 15:05:28 2006
++++ configure Thu Jun 1 15:07:47 2006
+@@ -20823,7 +20823,7 @@
+ (exit $ac_status); }; then
+ pkg_cv_OPENSSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
+ else
+- pkg_failed=yes
++ pkg_cv_OPENSSL_CFLAGS=$ac_cv_env_OPENSSL_CFLAGS_value
+ fi
+ else
+ pkg_failed=untried
+@@ -20837,7 +20837,7 @@
+ (exit $ac_status); }; then
+ pkg_cv_OPENSSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
+ else
+- pkg_failed=yes
++ pkg_cv_OPENSSL_LIBS=$ac_cv_env_OPENSSL_LIBS_value
+ fi
+ else
+ pkg_failed=untried
diff --git a/security/pam_p11/files/patch-src_pam_p11.c b/security/pam_p11/files/patch-src_pam_p11.c
new file mode 100644
index 000000000000..c0bc737fbbf0
--- /dev/null
+++ b/security/pam_p11/files/patch-src_pam_p11.c
@@ -0,0 +1,11 @@
+--- src/pam_p11.c.orig Sun Jun 11 21:16:46 2006
++++ src/pam_p11.c Sun Jun 11 21:17:53 2006
+@@ -39,7 +39,7 @@
+ #define LOGNAME "pam_p11" /* name for log-file entries */
+
+ #define RANDOM_SOURCE "/dev/urandom"
+-#define RANDOM_SIZE 128
++#define RANDOM_SIZE 64
+ #define MAX_SIGSIZE 256
+
+ extern int match_user(X509 * x509, const char *login);
diff --git a/security/pam_p11/files/patch-src_test.c b/security/pam_p11/files/patch-src_test.c
new file mode 100644
index 000000000000..08158257b8d6
--- /dev/null
+++ b/security/pam_p11/files/patch-src_test.c
@@ -0,0 +1,11 @@
+--- src/test.c.orig Thu Jun 1 15:13:06 2006
++++ src/test.c Thu Jun 1 15:13:15 2006
+@@ -2,7 +2,7 @@
+ #include <stdlib.h>
+
+ #include <security/pam_appl.h>
+-#include <security/pam_misc.h>
++#include <security/pam_modules.h>
+
+ int main(int argc, char **argv)
+ {