Skip to content

Commit 59b1460

Browse files
committed
Documentation for UnsafeCertTrustQuery
1 parent a798b19 commit 59b1460

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

java/ql/lib/semmle/code/java/security/UnsafeCertTrustQuery.qll

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ deprecated class SslEndpointIdentificationFlowConfig extends TaintTracking::Conf
2222
}
2323
}
2424

25+
/**
26+
* A taint flow configuration for SSL connections created without a proper certificate trust configuration.
27+
*/
2528
module SslEndpointIdentificationFlowConfig implements DataFlow::ConfigSig {
2629
predicate isSource(DataFlow::Node source) { source instanceof SslConnectionInit }
2730

@@ -30,6 +33,9 @@ module SslEndpointIdentificationFlowConfig implements DataFlow::ConfigSig {
3033
predicate isBarrier(DataFlow::Node sanitizer) { sanitizer instanceof SslUnsafeCertTrustSanitizer }
3134
}
3235

36+
/**
37+
* Taint flow for SSL connections created without a proper certificate trust configuration.
38+
*/
3339
module SslEndpointIdentificationFlow = TaintTracking::Global<SslEndpointIdentificationFlowConfig>;
3440

3541
/**

0 commit comments

Comments
 (0)