Fix build breakage from SMK.
This commit is contained in:
parent
3738155c81
commit
8f5e21c7cf
@ -393,7 +393,7 @@ class CDSBatchOperation: OWSOperation {
|
||||
let initializationVector = try params.requiredBase64EncodedData(key: "iv")
|
||||
let authTag = try params.requiredBase64EncodedData(key: "mac")
|
||||
|
||||
guard let plainText = Cryptography.decryptAESGCM(withInitializationVector: initializationVector,
|
||||
guard let plainText = Cryptography.decryptAESCGM(withInitializationVector: initializationVector,
|
||||
ciphertext: cipherText,
|
||||
additionalAuthenticatedData: nil,
|
||||
authTag: authTag,
|
||||
|
||||
@ -16,6 +16,7 @@ typedef NS_ENUM(NSInteger, OWSErrorCode) {
|
||||
OWSErrorCodeUntrustedIdentity = 25,
|
||||
OWSErrorCodeFailedToSendOutgoingMessage = 30,
|
||||
OWSErrorCodeAssertionFailure = 31,
|
||||
OWSErrorCodeFailedToDecryptMessage = 100,
|
||||
OWSErrorCodeFailedToEncryptMessage = 110,
|
||||
OWSErrorCodeSignalServiceFailure = 1001,
|
||||
OWSErrorCodeSignalServiceRateLimited = 1010,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user