From 78947ef069630bca6b43199deb42746872b61754 Mon Sep 17 00:00:00 2001 From: Mathieu Amiot Date: Fri, 1 Jul 2022 11:45:41 +0200 Subject: [PATCH] fix: Make LifetimeExtension::is_valid() public --- openmls/src/extensions/life_time_extension.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmls/src/extensions/life_time_extension.rs b/openmls/src/extensions/life_time_extension.rs index cd7b2eb2c7..182fc17aca 100644 --- a/openmls/src/extensions/life_time_extension.rs +++ b/openmls/src/extensions/life_time_extension.rs @@ -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!")