aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2018-10-18 16:00:37 +0800
committerale <ale@FreeBSD.org>2018-10-18 16:00:37 +0800
commit0554340259f7ba500f1d940ca9f6950ef11823c0 (patch)
tree66373753ce9b269030a9772de447e5669edaf319 /security
parentfc75106491658c90cf109adbd5276372497d27da (diff)
downloadfreebsd-ports-gnome-0554340259f7ba500f1d940ca9f6950ef11823c0.tar.gz
freebsd-ports-gnome-0554340259f7ba500f1d940ca9f6950ef11823c0.tar.zst
freebsd-ports-gnome-0554340259f7ba500f1d940ca9f6950ef11823c0.zip
Fix build on i386.
Diffstat (limited to 'security')
-rw-r--r--security/pam_p11/files/patch-src_pam__p11.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/security/pam_p11/files/patch-src_pam__p11.c b/security/pam_p11/files/patch-src_pam__p11.c
index 15a67fd361fc..ef62cf5e88a4 100644
--- a/security/pam_p11/files/patch-src_pam__p11.c
+++ b/security/pam_p11/files/patch-src_pam__p11.c
@@ -1,4 +1,4 @@
---- src/pam_p11.c.orig 2018-10-16 10:00:15 UTC
+--- src/pam_p11.c.orig 2018-05-04 14:52:04 UTC
+++ src/pam_p11.c
@@ -53,7 +53,7 @@
#include <security/pam_ext.h>
@@ -9,3 +9,12 @@
const char *fmt, va_list args)
{
int r = PAM_CRED_INSUFFICIENT;
+@@ -549,7 +549,7 @@ static int key_find(pam_handle_t *pamh,
+ return 0;
+ }
+
+-static int randomize(pam_handle_t *pamh, unsigned char *r, unsigned int r_len)
++static int randomize(pam_handle_t *pamh, unsigned char *r, int r_len)
+ {
+ int ok = 0;
+ int fd = open("/dev/urandom", O_RDONLY);