diff --git a/Sources/Crypto/Signatures/BoringSSL/MLDSA_boring.swift b/Sources/Crypto/Signatures/BoringSSL/MLDSA_boring.swift index 7429d72a..412ed1ac 100644 --- a/Sources/Crypto/Signatures/BoringSSL/MLDSA_boring.swift +++ b/Sources/Crypto/Signatures/BoringSSL/MLDSA_boring.swift @@ -12,24 +12,13 @@ // //===----------------------------------------------------------------------===// -#if canImport(CryptoKit) -@_exported import CryptoKit -#else -#if hasFeature(SourceWarningControl) -@diagnose(ImplementationOnlyDeprecated, as: ignored) @_implementationOnly import CCryptoBoringSSL -#else -@_implementationOnly import CCryptoBoringSSL -#endif -#if canImport(FoundationEssentials) -import FoundationEssentials -#else -import Foundation -#endif - // MARK: - Generated file, do NOT edit // any edits of this file WILL be overwritten and thus discarded // see section `gyb` in `README` for details. +#if canImport(CryptoKit) +@_exported import CryptoKit +#else #if hasFeature(SourceWarningControl) @diagnose(ImplementationOnlyDeprecated, as: ignored) @_implementationOnly import CCryptoBoringSSL #else diff --git a/Sources/Crypto/Signatures/BoringSSL/MLDSA_boring.swift.gyb b/Sources/Crypto/Signatures/BoringSSL/MLDSA_boring.swift.gyb index 6b73db93..62891ac6 100644 --- a/Sources/Crypto/Signatures/BoringSSL/MLDSA_boring.swift.gyb +++ b/Sources/Crypto/Signatures/BoringSSL/MLDSA_boring.swift.gyb @@ -12,24 +12,13 @@ // //===----------------------------------------------------------------------===// -#if canImport(CryptoKit) -@_exported import CryptoKit -#else -#if hasFeature(SourceWarningControl) -@diagnose(ImplementationOnlyDeprecated, as: ignored) @_implementationOnly import CCryptoBoringSSL -#else -@_implementationOnly import CCryptoBoringSSL -#endif -#if canImport(FoundationEssentials) -import FoundationEssentials -#else -import Foundation -#endif - // MARK: - Generated file, do NOT edit // any edits of this file WILL be overwritten and thus discarded // see section `gyb` in `README` for details. +#if canImport(CryptoKit) +@_exported import CryptoKit +#else #if hasFeature(SourceWarningControl) @diagnose(ImplementationOnlyDeprecated, as: ignored) @_implementationOnly import CCryptoBoringSSL #else