summaryrefslogtreecommitdiff
path: root/openssl/src/sign.rs
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2020-05-24 10:37:27 -0700
committerSteven Fackler <sfackler@gmail.com>2020-05-24 10:39:01 -0700
commit406031991ff3d25e33ca7c74ac1c3790b303e67a (patch)
tree44795c5740a91b97106c4472675a94d215390cc9 /openssl/src/sign.rs
parent72048765c7dc70d8a5e9e7b9b1a475b7c47a9261 (diff)
downloadrust-openssl-406031991ff3d25e33ca7c74ac1c3790b303e67a.zip
Run rustfmt on github actions
Diffstat (limited to 'openssl/src/sign.rs')
-rw-r--r--openssl/src/sign.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/openssl/src/sign.rs b/openssl/src/sign.rs
index 07548893..81ba7ee4 100644
--- a/openssl/src/sign.rs
+++ b/openssl/src/sign.rs
@@ -354,7 +354,11 @@ impl<'a> Signer<'a> {
///
/// [`EVP_DigestSign`]: https://www.openssl.org/docs/man1.1.1/man3/EVP_DigestSign.html
#[cfg(ossl111)]
- pub fn sign_oneshot(&mut self, sig_buf: &mut [u8], data_buf: &[u8]) -> Result<usize, ErrorStack> {
+ pub fn sign_oneshot(
+ &mut self,
+ sig_buf: &mut [u8],
+ data_buf: &[u8],
+ ) -> Result<usize, ErrorStack> {
unsafe {
let mut sig_len = sig_buf.len();
cvt(ffi::EVP_DigestSign(