Skip to content

Commit

Permalink
ec point format TLS extension (#1034)
Browse files Browse the repository at this point in the history
* adds client support to ec_point_format
* adds ec_point_format support for server side
* makes ec-point-format activation dependent on supported-curves activation
* removes recursive functions preserving the writing order
* renames EllipticCurves to SupportedCurves
  • Loading branch information
moisesguimaraes authored and dgarske committed Oct 23, 2017
1 parent d46ab1f commit 96667b4
Show file tree
Hide file tree
Showing 4 changed files with 305 additions and 74 deletions.
2 changes: 1 addition & 1 deletion src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -22073,7 +22073,7 @@ static int DoSessionTicket(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
}

#ifdef HAVE_SUPPORTED_CURVES
if (!TLSX_ValidateEllipticCurves(ssl, first, second)) {
if (!TLSX_ValidateSupportedCurves(ssl, first, second)) {
WOLFSSL_MSG("Don't have matching curves");
return 0;
}
Expand Down
Loading

0 comments on commit 96667b4

Please sign in to comment.