mirror of
https://github.com/apple/swift-crypto
synced 2026-11-23 04:34:21 +00:00
+6








e0883b430c
This is the last catchup merge into the WWDC-25 branch required to get the two branches to line up. From here, it's a straightforward merge to `main` to get the WWDC-25 branch in. --------- Co-authored-by: YourMJK <37852512+YourMJK@users.noreply.github.com> Co-authored-by: Rick Newton-Rogers <rnro@apple.com> Co-authored-by: Raphael <josephnoir@users.noreply.github.com> Co-authored-by: Si Beaumont <beaumont@apple.com> Co-authored-by: Evan Wilde <ewilde@apple.com> Co-authored-by: Tim Condon <0xTim@users.noreply.github.com> Co-authored-by: Gus Cairo <gus.cairo@apple.com> Co-authored-by: George Barnett <gbarnett@apple.com> Co-authored-by: Fabrice de Gans <Steelskin@users.noreply.github.com> Co-authored-by: Wojciech Nagrodzki <278594+wnagrodzki@users.noreply.github.com> Co-authored-by: Jesse L. Zamora <xtremekforever@gmail.com> Co-authored-by: aryan-25 <aryan_shah@apple.com> Co-authored-by: Gwynne Raskind <gwynne@vapor.codes> Co-authored-by: 3405691582 <dsk@google.com> Co-authored-by: Paul Toffoloni <69189821+ptoffy@users.noreply.github.com>
26 lines
901 B
Diff
26 lines
901 B
Diff
diff --git a/Sources/CCryptoBoringSSL/crypto/fipsmodule/service_indicator/internal.h b/Sources/CCryptoBoringSSL/crypto/fipsmodule/service_indicator/internal.h
|
|
index c5a8113..27f8060 100644
|
|
--- a/Sources/CCryptoBoringSSL/crypto/fipsmodule/service_indicator/internal.h
|
|
+++ b/Sources/CCryptoBoringSSL/crypto/fipsmodule/service_indicator/internal.h
|
|
@@ -17,6 +17,9 @@
|
|
|
|
#include <openssl/base.h>
|
|
|
|
+#if defined(__cplusplus)
|
|
+extern "C" {
|
|
+#endif
|
|
|
|
// FIPS_service_indicator_before_call and |FIPS_service_indicator_after_call|
|
|
// both currently return the same local thread counter which is slowly
|
|
@@ -37,6 +40,10 @@
|
|
OPENSSL_EXPORT uint64_t FIPS_service_indicator_before_call(void);
|
|
OPENSSL_EXPORT uint64_t FIPS_service_indicator_after_call(void);
|
|
|
|
+#if defined(__cplusplus)
|
|
+}
|
|
+#endif
|
|
+
|
|
#if defined(BORINGSSL_FIPS)
|
|
|
|
// FIPS_service_indicator_update_state records that an approved service has been
|