diff options
author | Steven Fackler <sfackler@gmail.com> | 2017-12-03 19:24:11 -0800 |
---|---|---|
committer | Steven Fackler <sfackler@gmail.com> | 2017-12-03 19:24:11 -0800 |
commit | 4a10c312198d83ddc1cbc450de5b2897d304ce94 (patch) | |
tree | f164b7ddf3c498017d027729daaf9cb26a82e452 /openssl/src/sign.rs | |
parent | d1724d49aee1121c4b130a283b4bd0267092f6d3 (diff) | |
download | rust-openssl-4a10c312198d83ddc1cbc450de5b2897d304ce94.zip |
Impl deref for acceptor/connector builders
Diffstat (limited to 'openssl/src/sign.rs')
-rw-r--r-- | openssl/src/sign.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/src/sign.rs b/openssl/src/sign.rs index ce78fd08..a90d1570 100644 --- a/openssl/src/sign.rs +++ b/openssl/src/sign.rs @@ -575,7 +575,7 @@ mod test { let mut signer = Signer::new(MessageDigest::sha256(), &key).unwrap(); signer.update(b"hello world").unwrap(); - let signature = signer.finish().unwrap(); + let signature = signer.sign_to_vec().unwrap(); let mut verifier = Verifier::new(MessageDigest::sha256(), &key).unwrap(); verifier.update(b"hello world").unwrap(); |