зеркало из https://github.com/github/codeql.git
Swift: Correct mistakes.
This commit is contained in:
Родитель
3d6a889d24
Коммит
2486c8423b
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче