Skip to content

Commit 569ddf5

Browse files
committed
experimental: enable some of it 2.
1 parent 132e165 commit 569ddf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/ql/test/query-tests/Security/CWE-327/test_commoncrypto.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func test_commoncrypto1(key: Data, iv: Data, dataIn: Data, dataOut: inout Data)
126126
// semi-realistic test case
127127
var myCryptor: CCCryptorRef?
128128
var dataOutWritten = 0
129-
/*
129+
130130
key.withUnsafeBytes({
131131
keyPtr in
132132
iv.withUnsafeBytes({
@@ -175,7 +175,7 @@ func test_commoncrypto1(key: Data, iv: Data, dataIn: Data, dataOut: inout Data)
175175
})
176176
})
177177
})
178-
})*/
178+
})
179179
}
180180

181181
func test_commoncrypto2(

0 commit comments

Comments
 (0)