File tree 6 files changed +3
-35
lines changed
6 files changed +3
-35
lines changed Original file line number Diff line number Diff line change 1
- // swift-tools-version:5.8
1
+ // swift-tools-version:5.9
2
2
//===----------------------------------------------------------------------===//
3
3
//
4
4
// This source file is part of the SwiftCrypto open source project
Original file line number Diff line number Diff line change @@ -117,7 +117,8 @@ Swift Crypto | Minimum Swift Version
117
117
` 2.2.0 ..< 2.4.2 ` | 5.5
118
118
` 2.4.2 ..< 3.1.0 ` | 5.6
119
119
` 3.1.0 ..< 3.3.0 ` | 5.7
120
- ` 3.3.0 ... ` | 5.8
120
+ ` 3.3.0 ..< 3.8.0 ` | 5.8
121
+ ` 3.8.0 ... ` | 5.9
121
122
122
123
### Compatibility
123
124
Original file line number Diff line number Diff line change @@ -16,11 +16,7 @@ import Crypto
16
16
@_implementationOnly import CCryptoBoringSSL
17
17
@_implementationOnly import CCryptoBoringSSLShims
18
18
@_implementationOnly import CryptoBoringWrapper
19
- #if canImport(Darwin) || swift(>=5.9.1)
20
19
import Foundation
21
- #else
22
- @preconcurrency import Foundation
23
- #endif
24
20
25
21
/// Types associated with the AES GCM SIV algorithm
26
22
extension AES . GCM {
Original file line number Diff line number Diff line change 16
16
@_implementationOnly import CCryptoBoringSSLShims
17
17
import Crypto
18
18
@_implementationOnly import CryptoBoringWrapper
19
- #if canImport(Darwin) || swift(>=5.9.1)
20
19
import Foundation
21
- #else
22
- @preconcurrency import Foundation
23
- #endif
24
20
25
21
typealias ChaCha20CTRImpl = OpenSSLChaCha20CTRImpl
26
22
Original file line number Diff line number Diff line change @@ -31,12 +31,8 @@ fileprivate typealias BackingPrivateKey = BoringSSLRSAPrivateKey
31
31
///
32
32
/// When rolling out new cryptosystems, users should avoid RSA and use ECDSA or edDSA instead. RSA
33
33
/// support is provided for interoperability with legacy systems.
34
- #if swift(>=5.8)
35
34
@_documentation ( visibility: public)
36
35
public enum _RSA { }
37
- #else
38
- public enum _RSA { }
39
- #endif
40
36
41
37
extension _RSA {
42
38
public enum Signing { }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments