diff --git a/js/ccf-app/package.json b/js/ccf-app/package.json index b528fd123830..841a569faf01 100644 --- a/js/ccf-app/package.json +++ b/js/ccf-app/package.json @@ -19,7 +19,7 @@ "license": "Apache-2.0", "devDependencies": { "@types/chai": "^4.2.15", - "@types/mocha": "^9.0.0", + "@types/mocha": "^10.0.10", "@types/node": "^18.0.0", "@types/node-forge": "^1.0.0", "chai": "^4.3.4", diff --git a/src/tls/context.h b/src/tls/context.h index fc3eb7b1345e..54fafcd0fa82 100644 --- a/src/tls/context.h +++ b/src/tls/context.h @@ -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)