aboutsummaryrefslogtreecommitdiff
path: root/include/crypto/hmac.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/hmac.h')
-rw-r--r--include/crypto/hmac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/hmac.h b/include/crypto/hmac.h
index aa3c97a..ad4d778 100644
--- a/include/crypto/hmac.h
+++ b/include/crypto/hmac.h
@@ -65,6 +65,8 @@ QCryptoHmac *qcrypto_hmac_new(QCryptoHashAlgorithm alg,
*/
void qcrypto_hmac_free(QCryptoHmac *hmac);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(QCryptoHmac, qcrypto_hmac_free)
+
/**
* qcrypto_hmac_bytesv:
* @hmac: the hmac object