mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Swift: Correct mistakes.
This commit is contained in:
@@ -5,7 +5,7 @@ private func encrypt(_ text: String, _ encryptionKey: SymmetricKey) -> String {
|
||||
return sealedBox.combined!.base64EncodedString()
|
||||
}
|
||||
|
||||
func storeMyData(databaseObject : NSManagedObject, faveSong : String, creditCardNo : String, key: SymmetricKey) {
|
||||
func storeMyData(databaseObject : NSManagedObject, faveSong : String, creditCardNo : String, encryptionKey: SymmetricKey) {
|
||||
// ...
|
||||
|
||||
// GOOD: not sensitive information
|
||||
|
||||
@@ -5,7 +5,7 @@ private func encrypt(_ text: String, _ encryptionKey: SymmetricKey) -> String {
|
||||
return sealedBox.combined!.base64EncodedString()
|
||||
}
|
||||
|
||||
func transmitMyData(connection : NWConnection, faveSong : String, creditCardNo : String, key: SymmetricKey) {
|
||||
func transmitMyData(connection : NWConnection, faveSong : String, creditCardNo : String, encryptionKey: SymmetricKey) {
|
||||
// ...
|
||||
|
||||
// GOOD: not sensitive information
|
||||
|
||||
Reference in New Issue
Block a user