Skip to content

Commit

Permalink
fix: Make LifetimeExtension::is_valid() public
Browse files Browse the repository at this point in the history
  • Loading branch information
OtaK authored and beltram committed Aug 1, 2022
1 parent 1345d14 commit 78947ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmls/src/extensions/life_time_extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl LifetimeExtension {
}

/// Returns true if this lifetime is valid.
pub(crate) fn is_valid(&self) -> bool {
pub fn is_valid(&self) -> bool {
let now = SystemTime::now()
.duration_since(UNIX_EPOCH)
.expect("SystemTime before UNIX EPOCH!")
Expand Down

0 comments on commit 78947ef

Please sign in to comment.