From owner-svn-ports-all@freebsd.org Thu Oct 18 08:00:38 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5197510D30B9; Thu, 18 Oct 2018 08:00:38 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 088CF813BC; Thu, 18 Oct 2018 08:00:38 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 037A31D048; Thu, 18 Oct 2018 08:00:38 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9I80b0i013676; Thu, 18 Oct 2018 08:00:37 GMT (envelope-from ale@FreeBSD.org) Received: (from ale@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9I80be0013675; Thu, 18 Oct 2018 08:00:37 GMT (envelope-from ale@FreeBSD.org) Message-Id: <201810180800.w9I80be0013675@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ale set sender to ale@FreeBSD.org using -f From: Alex Dupre Date: Thu, 18 Oct 2018 08:00:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482333 - head/security/pam_p11/files X-SVN-Group: ports-head X-SVN-Commit-Author: ale X-SVN-Commit-Paths: head/security/pam_p11/files X-SVN-Commit-Revision: 482333 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2018 08:00:38 -0000 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 @@ -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);