Issue #1108 - adding comment about the purpose of the pristine SSLEngine

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2016-11-22 12:00:10 -07:00
parent b308574dd5
commit d57cfe8ce1
1 changed files with 4 additions and 0 deletions

View File

@ -344,6 +344,10 @@ public class SslContextFactory extends AbstractLifeCycle implements Dumpable
try
{
/* Use a pristine SSLEngine (not one from this SslContextFactory).
* This will allow for proper detection and identification
* of JRE/lib/security/java.security level disabled features
*/
SSLEngine sslEngine = SSLContext.getDefault().createSSLEngine();
List<Object> selections = new ArrayList<>();