diff --git a/Sources/X509/Extension Types/SubjectKeyIdentifier.swift b/Sources/X509/Extension Types/SubjectKeyIdentifier.swift index 669f29e..a965565 100644 --- a/Sources/X509/Extension Types/SubjectKeyIdentifier.swift +++ b/Sources/X509/Extension Types/SubjectKeyIdentifier.swift @@ -14,7 +14,11 @@ import SwiftASN1 import Crypto +#if canImport(FoundationEssentials) +import struct FoundationEssentials.Data +#else import struct Foundation.Data +#endif /// Provides a means of identifying a certificate that contains a particular public key. ///