Skip to content

Commit 0656b03

Browse files
committed
Provide typealias to remove CryptoKit implementation detail
1 parent 0411996 commit 0656b03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/Crypto/CryptoKitErrors.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,7 @@ public enum CryptoKitASN1Error: Equatable, Error, Hashable {
6767
case invalidPEMDocument
6868
}
6969
#endif
70+
71+
public typealias CryptoError = CryptoKitError
72+
@available(iOS 14, macOS 11, tvOS 14, watchOS 7, *)
73+
public typealias CryptoASN1Error = CryptoKitASN1Error

0 commit comments

Comments
 (0)