Skip to content

Commit

Permalink
Avoid loading default certs for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Nov 23, 2024
1 parent ecd25e9 commit 7f80557
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions std/eval/_std/sys/ssl/Socket.hx
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ class Socket extends sys.net.Socket {
this.socket = socket;
input = new SocketInput(this);
output = new SocketOutput(this);
if (DEFAULT_VERIFY_CERT && DEFAULT_CA == null) {
DEFAULT_CA = Certificate.loadDefaults();
}
// if (DEFAULT_VERIFY_CERT && DEFAULT_CA == null) {
// DEFAULT_CA = Certificate.loadDefaults();
// }
verifyCert = DEFAULT_VERIFY_CERT;
caCert = DEFAULT_CA;
}
Expand Down

0 comments on commit 7f80557

Please sign in to comment.