Skip to content

Commit 5719fae

Browse files
committed
Missed visionOS
1 parent 29ef040 commit 5719fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/ObliviousXHelpers/Helpers.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ extension HPKE.KEM {
231231
)
232232
#if !canImport(Darwin) || canImport(CryptoKit, _version: 324.0.4)
233233
case .XWingMLKEM768X25519:
234-
if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
234+
if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, visionOS 26.0, *) {
235235
return try HPKE.Sender(
236236
recipientKey: Crypto.XWingMLKEM768X25519.PublicKey(rawRepresentation: publicKeyData),
237237
ciphersuite: ciphersuite,
@@ -260,7 +260,7 @@ extension HPKE.KEM {
260260
_ = try Curve25519.KeyAgreement.PublicKey(rawRepresentation: publicKeyData)
261261
#if !canImport(Darwin) || canImport(CryptoKit, _version: 324.0.4)
262262
case .XWingMLKEM768X25519:
263-
if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, *) {
263+
if #available(iOS 26.0, macOS 26.0, watchOS 26.0, tvOS 26.0, visionOS 26.0, *) {
264264
_ = try Crypto.XWingMLKEM768X25519.PublicKey(rawRepresentation: publicKeyData)
265265
} else {
266266
fatalError("Impossible to have an XWing key in this context without it being available.")

0 commit comments

Comments
 (0)