aboutsummaryrefslogtreecommitdiff
path: root/crypto/hash-afalg.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/hash-afalg.c')
-rw-r--r--crypto/hash-afalg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hash-afalg.c b/crypto/hash-afalg.c
index 8c0ce5b..bd3fe3b 100644
--- a/crypto/hash-afalg.c
+++ b/crypto/hash-afalg.c
@@ -59,7 +59,7 @@ qcrypto_afalg_hash_format_name(QCryptoHashAlgo alg,
if (is_hmac) {
name = g_strdup_printf("hmac(%s)", alg_name);
} else {
- name = g_strdup_printf("%s", alg_name);
+ name = g_strdup(alg_name);
}
return name;