Skip to content

Commit

Permalink
shared: Ignore SCALE_FACTOR in MAX_EAD_SIZE
Browse files Browse the repository at this point in the history
That value is not used anyway.
  • Loading branch information
chrysn committed Jan 22, 2025
1 parent 9afb674 commit 152df74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ pub const KID_LABEL: u8 = 4;

pub const ENC_STRUCTURE_LEN: usize = 8 + 5 + SHA256_DIGEST_LEN; // 8 for ENCRYPT0

pub const MAX_EAD_SIZE_LEN: usize = SCALE_FACTOR * 64;
pub const MAX_EAD_SIZE_LEN: usize = 64;

/// Maximum length of a [`ConnId`] (`C_x`).
///
Expand Down

0 comments on commit 152df74

Please sign in to comment.