| commit | 4540c3caf0b1d950c8025ccbb194e46f2c6a7f65 | [log] [tgz] |
|---|---|---|
| author | Bob Beck <beck@openbsd.org> | Wed Mar 08 12:40:29 2023 -0700 |
| committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 11 16:37:32 2023 +0000 |
| tree | 3c2caf9ea5a9cf37d158582dadbe6f0e8f9d9b52 | |
| parent | c6dd304d2c628277b710ab50ce9eed660696756d [diff] [blame] |
OpenBSD Support Includes bits by me and Robert Nagy <robert.nagy@gmail.com> who has a google CLA. Update-Note: Additionally, BoringSSL now requires macOS 10.12 or later for getentropy support. This is consistent with https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md WANT_LGTM=all Change-Id: I5ab74fa8a6677fac29c316aa29a954df401ba647 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/59225 Commit-Queue: Bob Beck <bbe@google.com> Reviewed-by: David Benjamin <davidben@google.com> Reviewed-by: Adam Langley <agl@google.com>
diff --git a/include/openssl/base.h b/include/openssl/base.h index 67429c0..3141676 100644 --- a/include/openssl/base.h +++ b/include/openssl/base.h
@@ -164,6 +164,10 @@ #define OPENSSL_FREEBSD #endif +#if defined(__OpenBSD__) +#define OPENSSL_OPENBSD +#endif + // BoringSSL requires platform's locking APIs to make internal global state // thread-safe, including the PRNG. On some single-threaded embedded platforms, // locking APIs may not exist, so this dependency may be disabled with the