diff options
author | Alex Dupre <ale@FreeBSD.org> | 2018-10-18 08:00:37 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2018-10-18 08:00:37 +0000 |
commit | 50ab5ced8c17a4f9f498c48fa7424e35ad992af5 (patch) | |
tree | 66373753ce9b269030a9772de447e5669edaf319 /security/pam_p11 | |
parent | 906d5da14f05c896e9fefd98bf3d2905986249ef (diff) | |
download | ports-50ab5ced8c17a4f9f498c48fa7424e35ad992af5.tar.gz ports-50ab5ced8c17a4f9f498c48fa7424e35ad992af5.zip |
Fix build on i386.
Notes
Notes:
svn path=/head/; revision=482333
Diffstat (limited to 'security/pam_p11')
-rw-r--r-- | security/pam_p11/files/patch-src_pam__p11.c | 11 |
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); |