Skip to content

Commit 15741c6

Browse files
committed
fix(rust/signed-doc): content encoding field is optional
1 parent 4e5ff19 commit 15741c6

File tree

1 file changed

+0
-5
lines changed
  • rust/signed_doc/src/metadata

1 file changed

+0
-5
lines changed

rust/signed_doc/src/metadata/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,6 @@ impl Metadata {
156156
);
157157
},
158158
}
159-
} else {
160-
error_report.missing_field(
161-
"content encoding",
162-
"Missing content encoding field in COSE protected header",
163-
);
164159
}
165160

166161
let mut doc_type: Option<UuidV4> = None;

0 commit comments

Comments
 (0)