blob: 2782d500758d7f895ac7e52abb97cd9b0a23f07a [file] [log] [blame]
diff --git a/src/bn.rs b/src/bn.rs
index 1cd00dd..dbd7ae9 100644
--- a/src/bn.rs
+++ b/src/bn.rs
@@ -814,7 +814,7 @@ impl BigNumRef {
/// assert_eq!(&bn_vec, &[0, 0, 0x45, 0x43]);
/// ```
#[corresponds(BN_bn2binpad)]
- #[cfg(ossl110)]
+ #[cfg(any(boringssl, ossl110))]
pub fn to_vec_padded(&self, pad_to: i32) -> Result<Vec<u8>, ErrorStack> {
let mut v = Vec::with_capacity(pad_to as usize);
unsafe {