svn commit: r482333 - head/security/pam_p11/files
Alex Dupre
ale at FreeBSD.org
Thu Oct 18 08:00:38 UTC 2018
Author: ale
Date: Thu Oct 18 08:00:37 2018
New Revision: 482333
URL: https://svnweb.freebsd.org/changeset/ports/482333
Log:
Fix build on i386.
Modified:
head/security/pam_p11/files/patch-src_pam__p11.c
Modified: head/security/pam_p11/files/patch-src_pam__p11.c
==============================================================================
--- head/security/pam_p11/files/patch-src_pam__p11.c Thu Oct 18 08:00:17 2018 (r482332)
+++ head/security/pam_p11/files/patch-src_pam__p11.c Thu Oct 18 08:00:37 2018 (r482333)
@@ -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);
More information about the svn-ports-all
mailing list