Revert "Export to_vec_padded when boringssl is the backend"
Revert submission 2319094-bssl_jan2023
Reason for revert: cause broken build
Reverted changes: /q/submissionid:2319094-bssl_jan2023
Change-Id: I3e38a9adfff2cced1a6f5814466db67954464239
diff --git a/patches/bssl_to_vec_padded.diff b/patches/bssl_to_vec_padded.diff
deleted file mode 100644
index 2782d50..0000000
--- a/patches/bssl_to_vec_padded.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-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 {
diff --git a/src/bn.rs b/src/bn.rs
index dbd7ae9..1cd00dd 100644
--- a/src/bn.rs
+++ b/src/bn.rs
@@ -814,7 +814,7 @@
/// assert_eq!(&bn_vec, &[0, 0, 0x45, 0x43]);
/// ```
#[corresponds(BN_bn2binpad)]
- #[cfg(any(boringssl, ossl110))]
+ #[cfg(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 {