Respond to CR.

This commit is contained in:
Matthew Chen 2018-10-01 09:32:04 -04:00
parent 02e9c16103
commit ae8b97c0f3

View File

@ -14,7 +14,7 @@ public class SMKUDAccessKey: NSObject {
@objc public let keyData: Data
public init(profileKey: Data) throws {
guard let aesGcmKey = OWSAES256Key(dataIfValid: profileKey) else {
guard let aesGcmKey = OWSAES256Key(data: profileKey) else {
throw SMKError.assertionError(description: "Profile key is not valid AES GCM key.")
}