Skip to content

Commit 65ddb38

Browse files
committed
Fix warning related to StreamCryptor.Options.None
1 parent d8adbd9 commit 65ddb38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IDZSwiftCommonCrypto/StreamCryptor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ open class StreamCryptor
237237
}
238238

239239
/// No options
240-
public static let None = Options(rawValue: 0)
240+
public static let None : Options = []
241241
/// Use padding. Needed unless the input is a integral number of blocks long.
242242
public static var PKCS7Padding = Options(rawValue:kCCOptionPKCS7Padding)
243243
/// Electronic Code Book Mode. Don't use this.

0 commit comments

Comments
 (0)