Skip to content

Commit

Permalink
support in delegate parsing for P-256
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Hartzell committed Jun 27, 2018
1 parent 343f085 commit ef15d6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ void guard_valid_self_delegation(const void *data, size_t length, cx_curve_t cur
case CX_CURVE_SECP256K1:
curve_code = 1;
break;
case CX_CURVE_SECP256R1:
curve_code = 2;
break;
default:
PARSE_ERROR(9); // Should not be reached
}
Expand Down

0 comments on commit ef15d6b

Please sign in to comment.