File tree 2 files changed +3
-3
lines changed
TangemSdk/TangemSdk/Common
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public class BiometricsStorage {
64
64
Log . debug ( " BiometricsStorage set - status \( status. message) \( status) " )
65
65
66
66
if status == errSecDuplicateItem && overwrite {
67
- var searchQuery : [ CFString : Any ] = [
67
+ let searchQuery : [ CFString : Any ] = [
68
68
kSecClass: kSecClassGenericPassword,
69
69
kSecAttrAccount: account,
70
70
kSecUseDataProtectionKeychain: true ,
Original file line number Diff line number Diff line change @@ -77,13 +77,13 @@ public struct Tlv: Equatable {
77
77
/// - Parameter dataStream: dataStream initialized with raw tlv
78
78
private static func readTagLength( _ dataStream: InputStream ) -> Int ? {
79
79
guard let shortLengthBytes = dataStream. readByte ( ) else {
80
- Log . error ( " Failed to read tag lenght " )
80
+ Log . error ( " Failed to read tag length " )
81
81
return nil
82
82
}
83
83
84
84
if ( shortLengthBytes == 0xFF ) {
85
85
guard let longLengthBytes = dataStream. readBytes ( count: 2 ) else {
86
- Log . error ( " Failed to read tag long lenght " )
86
+ Log . error ( " Failed to read tag long length " )
87
87
return nil
88
88
}
89
89
You can’t perform that action at this time.
0 commit comments