Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Commit 245b99d

Browse files
author
Max Schaefer
committed
Fix misformatted header comment for DisabledCertificateCheck.
1 parent 699208a commit 245b99d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ql/src/Security/CWE-295/DisabledCertificateCheck.ql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
* @id go/disabled-certificate-check
99
* @tags security
1010
* external/cwe/cwe-295
11-
*
11+
*/
12+
13+
/*
1214
* The approach taken by this query is to look for assignments that set `InsecureSkipVerify`
1315
* (from struct `Config` of package `crypto/tls`) to `true`. We exclude assignments that are
1416
* guarded by a feature-flag selecting whether verification should be skipped or not, since

0 commit comments

Comments
 (0)