Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/ccf-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"mocha": "^10.0.0",
"node-forge": "^1.2.0",
"ts-node": "^10.4.0",
"typedoc": "^0.23.1",
"typedoc": "^0.28.14",
"typescript": "^4.2.4"
}
}
4 changes: 2 additions & 2 deletions src/tls/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ namespace tls
SSL_set_ciphersuites(ssl, ciphersuites);

// Restrict the curves to approved ones
SSL_CTX_set1_curves_list(cfg, "P-521:P-384");
SSL_set1_curves_list(ssl, "P-521:P-384");
SSL_CTX_set1_curves_list(cfg, "P-521:P-384:P-256");
SSL_set1_curves_list(ssl, "P-521:P-384:P-256");

// Initialise connection
if (client)
Expand Down