Skip to content

Commit de7329a

Browse files
committed
Support secp256r1 for Server Temp Key
1 parent 6b04017 commit de7329a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tls/context.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ namespace tls
5757
SSL_set_ciphersuites(ssl, ciphersuites);
5858

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

6363
// Initialise connection
6464
if (client)

0 commit comments

Comments
 (0)