Skip to content

Commit 1fe92d4

Browse files
committed
fix for minversion
Signed-off-by: Markus Theil <[email protected]>
1 parent 29abab9 commit 1fe92d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openssl/src/x509/extension.rs

+4
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ impl Default for SbgpAsIdentifier {
439439
}
440440
}
441441

442+
#[cfg(ossl110)]
442443
impl SbgpAsIdentifier {
443444
/// Construct a new `SbgpAsIdentifier` extension.
444445
pub fn new() -> SbgpAsIdentifier {
@@ -484,17 +485,20 @@ impl SbgpAsIdentifier {
484485
}
485486
}
486487

488+
#[cfg(ossl110)]
487489
pub struct SbgpIpAddressIdentifier {
488490
critical: bool,
489491
ip_ranges: Vec<(std::net::IpAddr, std::net::IpAddr)>,
490492
}
491493

494+
#[cfg(ossl110)]
492495
impl Default for SbgpIpAddressIdentifier {
493496
fn default() -> SbgpIpAddressIdentifier {
494497
SbgpIpAddressIdentifier::new()
495498
}
496499
}
497500

501+
#[cfg(ossl110)]
498502
impl SbgpIpAddressIdentifier {
499503
/// Construct a new `SbgpIpAddressIdentifier` extension.
500504
pub fn new() -> SbgpIpAddressIdentifier {

0 commit comments

Comments
 (0)