We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f4bfa5 commit 79542a8Copy full SHA for 79542a8
Tests/CryptoTests/Encodings/DERTests.swift
@@ -49,7 +49,7 @@ class DERTests: XCTestCase {
49
}
50
51
func randomBytes(count: Int) -> [UInt8] {
52
- #if (os(macOS) || os(iOS) || os(watchOS) || os(tvOS)) || os(Linux) || os(Android)
+ #if (os(macOS) || os(iOS) || os(watchOS) || os(tvOS)) || os(Linux) || os(Android) || os(Windows)
53
var rng = SystemRandomNumberGenerator()
54
return (0..<count).map { _ in rng.next() }
55
#else
0 commit comments