Skip to content

Commit 4213ae2

Browse files
committed
avoid unsigned to signed casting
1 parent f738016 commit 4213ae2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

openssl/src/x509/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1894,8 +1894,7 @@ impl X509Crl {
18941894
Ok(())
18951895
}
18961896

1897-
// Note: u32 seconds is more than enough for this;
1898-
pub fn set_next_update_from_now(&mut self, seconds_from_now: u32) -> Result<(), ErrorStack> {
1897+
pub fn set_next_update_from_now(&mut self, seconds_from_now: i32) -> Result<(), ErrorStack> {
18991898
cfg_if!(
19001899
if #[cfg(any(ossl110, libressl270, boringssl))] {
19011900
unsafe {

0 commit comments

Comments
 (0)