• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1diff --git a/src/bn.rs b/src/bn.rs
2index 1cd00dd..dbd7ae9 100644
3--- a/src/bn.rs
4+++ b/src/bn.rs
5@@ -814,7 +814,7 @@ impl BigNumRef {
6     /// assert_eq!(&bn_vec, &[0, 0, 0x45, 0x43]);
7     /// ```
8     #[corresponds(BN_bn2binpad)]
9-    #[cfg(ossl110)]
10+    #[cfg(any(boringssl, ossl110))]
11     pub fn to_vec_padded(&self, pad_to: i32) -> Result<Vec<u8>, ErrorStack> {
12         let mut v = Vec::with_capacity(pad_to as usize);
13         unsafe {
14