Skip to content

Commit

Permalink
Update ok_http_client.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Jan 29, 2025
1 parent a7c5e48 commit 220c8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/ok_http/lib/src/ok_http_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class OkHttpClient extends BaseClient {

if (clientPrivateKey != null && clientCertificateChain != null) {
// TODO: Switch to `JArray.of` when package:jnigen 0.20 is released.
// This does not work if the
// This does not work if `clientCertificateChain` is empty list.
final chain = JArray.filled(
clientCertificateChain.length, clientCertificateChain[0])
..setRange(0, clientCertificateChain.length, clientCertificateChain);
Expand Down

0 comments on commit 220c8ea

Please sign in to comment.