Skip to content

Commit 005c666

Browse files
author
Stephane Landelle
committed
Fix ssl doc typo, close AsyncHttpClient#87
1 parent 9150240 commit 005c666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/site/apt/ssl.apt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ SecureRandom secureRandom = new SecureRandom();
3535
SSLContext sslContext = SSLContext.getInstance("TLS");
3636
sslContext.init(keyManagers, trustManagers, secureRandom);
3737
Builder builder = new AsyncHttpClientConfig.Builder();
38-
builder.setSSLContext(myOwnThreadPool);
38+
builder.setSSLContext(sslContext);
3939
AsyncHttpClient client = new AsyncHttpClient(builder.build());
4040
+-----+

0 commit comments

Comments
 (0)