We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d03297 commit 3d49b6fCopy full SHA for 3d49b6f
sdk/core/src/hmac.rs
@@ -29,7 +29,7 @@ pub fn hmac_sha256(data: &str, key: &Secret) -> crate::Result<String> {
29
let pkey = PKey::hmac(&dkey)?;
30
let mut signer = Signer::new(MessageDigest::sha256(), &pkey)?;
31
signer.update(data.as_bytes())?;
32
- Ok(signer.sign_to_vec()?)
+ signer.sign_to_vec()
33
}()
34
.with_context(ErrorKind::DataConversion, || {
35
"failed to create hmac from key"
0 commit comments