From nobody Fri May 31 16:53:51 2024 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 4VrTjD0Fnhz5JkYR; Fri, 31 May 2024 16:53:52 +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 4VrTjC6RQ4z45vy; Fri, 31 May 2024 16:53:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717174431; 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=0Yv3RGY0GO0MBqNig3134B4HPKznwbMrqWuj9hiAfeY=; b=yiUozZOa/oVAZFkJkH8AK6roCjRG+RtiVplIboCevhKkqMu28sHl48l6XA67+s+/51weqC 6aVlyeWsdx1OnAuvgqlFj181qdfXT6bmyoHvPGHp7RaZ+WuY/2l5/a3aLsyZu9KNfXZMTN alWpgn2djwMasBznH4ksZ4WGxmL5zjpMvQarvYEdUV9gKallwS7hcrinIZlMYYnaR1+Xps Hl/m7bTY/1vbHqahkxwHQ54yRANtb6nlRu+UITvCdiBdqDm82N5mv3WgWrFoxhcVEMdmLX flZ87ALNnZ4K9gjcI/woXfmWgqdRXz4sPA/jMguVIzG9ASINV55/C7gwujiaZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717174431; a=rsa-sha256; cv=none; b=wQCNLnwC0vZawroNTMs6zbcntv+GNWummDX+f1N8khwKEqQy9RHnXReCmmWkxGTPW06EYJ FNQWDIMFUaSN05djJHB/sI27bkMAw2tu0up09P3pkyswodohOXEF7thw5LakQVtReLIpAf xD9/7LpxCA4/2xUT7GEnqrdt4EjMDvzCo0dGfoj4+j3cWGf2Xjm9tg43iKOGqLg1ZfFyMd J5I0JENgZeOopGp+vP4ru2lrFYgBqiowL9qbim57syMPcB9Op7Qm02aDrJC3Zm7NE6cEWK aJOAUOw5GhO6I8rYx7mW6bXXjCvfQ2+QycTXOenZesT4qADQfTRoshbPYh1f8g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717174431; 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=0Yv3RGY0GO0MBqNig3134B4HPKznwbMrqWuj9hiAfeY=; b=OiDNvRkLHzhD41KYuTeL/z1RFb4GSr/mqNl7XypFhPDIrUAyB8YYvkghhjJG+vC6w4GP87 Z9xRUZSoteTZZaN9Wfsy2R+fL//TD8ppzSRQDbrs7CqRsCksqzYvnUjw4Qzj8fy9Di3G4i alb0HuPM3obDAw5TLCasJ27ynmSzePGvSI/eAlu0r99JCvwzHcd1keQsW3mCXrYPieHiir IYI7CGHsd6lDVdKNV7QwLd/rVwlFv65PXatXbKUvcS9b+ofjZOnwDpG77TCzrwG+2ydtnP +Ui9BIxZ36FhwGQbzApKdeZZ6McycEC86bj+ocHAWODoCXzWG/vCa9k8mr/7BA== 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 4VrTjC630GzY20; Fri, 31 May 2024 16:53:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44VGrpLC096953; Fri, 31 May 2024 16:53:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44VGrp3H096950; Fri, 31 May 2024 16:53:51 GMT (envelope-from git) Date: Fri, 31 May 2024 16:53:51 GMT Message-Id: <202405311653.44VGrp3H096950@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: a8fe2d331be3 - main - posix_async: FreeBSD also defines {make|swap|get|set}context 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a8fe2d331be35dcafefa5f706e955f0dde70aa5f Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a8fe2d331be35dcafefa5f706e955f0dde70aa5f commit a8fe2d331be35dcafefa5f706e955f0dde70aa5f Author: Warner Losh AuthorDate: 2024-05-31 15:29:02 +0000 Commit: Warner Losh CommitDate: 2024-05-31 16:53:39 +0000 posix_async: FreeBSD also defines {make|swap|get|set}context FreeBSD also defines {make|swap|get|set}context for backward compatibility, despite also exposing POSIX_VERSION 200809L in FreeBSD 15-current. FreeBSD has defined these interfaces since FreeBSD 4.7, released over 20 years ago, so no further nuance in FreeBSD version number is necessary. Pull Request: https://github.com/openssl/openssl/pull/23885 Sponsored by: Netflix --- crypto/openssl/crypto/async/arch/async_posix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/openssl/crypto/async/arch/async_posix.h b/crypto/openssl/crypto/async/arch/async_posix.h index a17c6b8e68af..2ac99d6fea8a 100644 --- a/crypto/openssl/crypto/async/arch/async_posix.h +++ b/crypto/openssl/crypto/async/arch/async_posix.h @@ -18,7 +18,7 @@ # include # if _POSIX_VERSION >= 200112L \ - && (_POSIX_VERSION < 200809L || defined(__GLIBC__)) + && (_POSIX_VERSION < 200809L || defined(__GLIBC__) || defined(__FreeBSD__)) # include