Skip to content

Commit

Permalink
Merge pull request consenlabs#59 from euforic/bug/rn
Browse files Browse the repository at this point in the history
fix syntax error / compile error with token-core-ios
  • Loading branch information
XuNeal authored Feb 27, 2019
2 parents 05cca8f + f714f0d commit 03817d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Encryptor/AES128.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ extension Encryptor {
private func blockMode(iv: [UInt8]) -> BlockMode {
switch mode {
case .cbc:
return CBC(iv: iv)
return .CBC(iv: iv)
default:
return CTR(iv: iv)
return .CTR(iv: iv)
}
}
}
Expand Down

0 comments on commit 03817d4

Please sign in to comment.