Skip to content

Commit

Permalink
Add comment to unparsable credential case
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed May 16, 2024
1 parent e599cfa commit d25f38f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/edhoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ pub fn r_parse_message_3(
if let Ok(parsed_rpk) = CredentialRPK::new(buffer) {
parsed_rpk
} else {
// This is incomplete, and the application will need to fill in the gaps --
// just as in the CompactKid case the CredentialRPK is also incomplete.
CredentialRPK {
value: buffer,
public_key: Default::default(),
Expand Down

0 comments on commit d25f38f

Please sign in to comment.