Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jan 28, 2025
1 parent 4c19b5c commit fdb1e7c
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions aws-lc-rs/src/evp_pkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,17 +185,6 @@ impl LcPtr<EVP_PKEY> {
}
}

// pub(crate) fn marshal_raw_public_key(&self) -> Result<Vec<u8>, Unspecified> {
// let mut size = 0;
// if 1 != unsafe { EVP_PKEY_get_raw_public_key(*self.as_const(), null_mut(), &mut size) } {
// return Err(Unspecified);
// }
// let mut buffer = vec![0u8; size];
// let buffer_size = self.marshal_raw_public_to_buffer(&mut buffer)?;
// debug_assert_eq!(buffer_size, size);
// Ok(buffer)
// }

pub(crate) fn marshal_raw_public_to_buffer(
&self,
buffer: &mut [u8],
Expand Down

0 comments on commit fdb1e7c

Please sign in to comment.