Skip to content

Commit

Permalink
fixup! feat!: add support for PEM root certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Dec 10, 2024
1 parent 29fb00a commit 383cc45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/dtls_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ class DtlsClientContext {
libCrypto.BIO_free(bio);
}

libSsl
libCrypto
..X509_STORE_add_cert(store, opensslCert)
..X509_free(opensslCert);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/dtls_server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ class DtlsServerContext {
libCrypto.BIO_free(bio);
}

libSsl
libCrypto
..X509_STORE_add_cert(store, opensslCert)
..X509_free(opensslCert);
}
Expand Down

0 comments on commit 383cc45

Please sign in to comment.