From nobody Sun May 28 02:18:48 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QTMlr5h5Tz4X94H; Sun, 28 May 2023 02:18:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QTMlr58Cyz4Lfc; Sun, 28 May 2023 02:18:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685240328; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NkfREL4tB0QC5lx1UlIAR7bQx7w7wpjpvy59kPQvZ9o=; b=cYOrhaTw643zfO5D3a15tLQ79RKQbFF4xX0cWfb6I4BQNPwoLSgKA0aiq0appraRjtfPO/ W0slFvYoyHBxYRq6XcUDf13G2Pksa2N7tqWLLNKvsa0pJHCg3rJwOpsLioMXl/F3Eu5oGy gWenX+IBzdSNsLpjkiFd72K9f+q943U6BjmLa8pXm/YOiyoGbwgQ9+XUWctrzzrpqsOnDt fGEYPklPUat7xhFPx/LmdohnMA23OG5F5kfHwsFVcz22BIED5oFNykDRhMrIWV1CbtotH2 +rMDaZIa3guo2/MtUV2f42Pow8nQA5ycbR0yNnzKA1yJVmXxSTSOqZvoVm1R/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685240328; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NkfREL4tB0QC5lx1UlIAR7bQx7w7wpjpvy59kPQvZ9o=; b=MiG6KsvhyIIcqDaxk6h/iosYMO9dC5M/vGAO+RDRptAIMcZN5V9fjnzCcfjEAZdx4DFQe4 1tdtcnW3IX4AoBjZYR/7dxZbbwDEfCqhFF9Cb0gPge5QDZne/qyeGmNY390wSbUHfYuevO U+chaxYMk+6EY5RFxQVLRRuZ7OB9rdSb2DNPGyVwVBwTrMZ93saLIFIGWaWJMgZPPvC+PB wFq6yLhOVjkqbZJR/kbXn4cSzaAqYmRSxkQqpGONnhAQyDuuFS9ZeN/SLrtKOq/QaxA9cu o5PcrYrYtwexK5z7RyrzMx+CVDac8VEU9mWAlBFpLfMTQrr6hh/TwXGkQmo3Nw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685240328; a=rsa-sha256; cv=none; b=d2ZuDhpHNDazaAUM6N89NW5fv5Mj2UvGsJ/Tj+6O3itHtZ1LWyBu4w5aWoeJ8DgJaaZcHg decsTkloOh9K/bvZ2oN8tWm24B3mg7vzMfRU9+lU09w6JRR7gb243XOQeayaogoN5AyxOs aBswSJzG421H8oB/cqthf4cBoZKggqjGwQqo8RqFVXgYgYOuQ07jp3P8xNRPYs+MWK5R8r H6moxE+YJhZBkfRO8BUAOFuaaVuU5XiEbwSCPwFXzicx+xN+Agk5T6v99GHc1J9SiCo8RY hH9zrX82YSL5tZpE7V3t7Mqe+EbBOoAk7/WCnL3/LS3FeEblSlE7pBhN1XvLEA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QTMlr446Tz1Bgl; Sun, 28 May 2023 02:18:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34S2Imhe097403; Sun, 28 May 2023 02:18:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34S2ImLb097402; Sun, 28 May 2023 02:18:48 GMT (envelope-from git) Date: Sun, 28 May 2023 02:18:48 GMT Message-Id: <202305280218.34S2ImLb097402@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Enji Cooper Subject: git: 27234ad6999b - main - Fix the build post-dcf5d5603b3af8 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ngie X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 27234ad6999b760041fc53326268ac86e9fd2e80 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=27234ad6999b760041fc53326268ac86e9fd2e80 commit 27234ad6999b760041fc53326268ac86e9fd2e80 Author: Enji Cooper AuthorDate: 2023-05-28 02:16:39 +0000 Commit: Enji Cooper CommitDate: 2023-05-28 02:18:43 +0000 Fix the build post-dcf5d5603b3af8 I didn't compile test the prior code before committing. MFC after: 1 week MFC with: dcf5d5603b3af831002caa7b2f64aec8bda14071 --- usr.bin/factor/factor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/factor/factor.c b/usr.bin/factor/factor.c index 7fc31353e5fa..0b53ac3b5836 100644 --- a/usr.bin/factor/factor.c +++ b/usr.bin/factor/factor.c @@ -84,11 +84,11 @@ __FBSDID("$FreeBSD$"); #if OPENSSL_VERSION_NUMBER < 0x30000000L static inline int -BN_check_prime(BN *p, BN_CTX *ctx, BN_GENCB *cb) +BN_check_prime(BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb) { const int nchecks = 5; - return BN_is_prime_ex(val, nchecks, ctx, cb); + return BN_is_prime_ex(p, nchecks, ctx, cb); } #endif