diff --git a/openssl/src/x509/mod.rs b/openssl/src/x509/mod.rs
index 3504b7b3c..5cc9039fc 100644
--- a/openssl/src/x509/mod.rs
+++ b/openssl/src/x509/mod.rs
@@ -28,6 +28,7 @@ use crate::asn1::{
Asn1OctetStringRef, Asn1StringRef, Asn1Time, Asn1TimeRef, Asn1Type,
};
use crate::bio::MemBioSlice;
+use crate::bn::BigNum;
use crate::conf::ConfRef;
use crate::error::ErrorStack;
use crate::ex_data::Index;
@@ -1904,7 +1905,7 @@ impl X509Crl {
/// Read the value of the crl_number extensions.
/// Returns None if the extension is not present.
- pub fn read_crl_number(&self) -> Result