diff options
author | James Morris <james.l.morris@oracle.com> | 2013-03-11 12:54:48 +1100 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2013-03-11 12:54:48 +1100 |
commit | ae3fa576302633290c8d7c394c4098ec027bd8a1 (patch) | |
tree | 51a6d97b1ef57be7cb16c797497a610b9e1e1a5d /crypto/ahash.c | |
parent | ca10c662b0ec80db86864277a94889cc63bae958 (diff) | |
parent | a390f39a9ef577563398884870a50eba558dfe49 (diff) | |
download | linux-crypto-ae3fa576302633290c8d7c394c4098ec027bd8a1.tar.gz linux-crypto-ae3fa576302633290c8d7c394c4098ec027bd8a1.zip |
Merge tag 'v3.9-rc2' into next
Sync with Linus.
Linux 3.9-rc2
Diffstat (limited to 'crypto/ahash.c')
-rw-r--r-- | crypto/ahash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ahash.c b/crypto/ahash.c index 3887856c..793a27f2 100644 --- a/crypto/ahash.c +++ b/crypto/ahash.c @@ -404,7 +404,7 @@ static int crypto_ahash_report(struct sk_buff *skb, struct crypto_alg *alg) { struct crypto_report_hash rhash; - snprintf(rhash.type, CRYPTO_MAX_ALG_NAME, "%s", "ahash"); + strncpy(rhash.type, "ahash", sizeof(rhash.type)); rhash.blocksize = alg->cra_blocksize; rhash.digestsize = __crypto_hash_alg_common(alg)->digestsize; |