projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'master-2014-11-25' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil...
[linux-2.6-microblaze.git]
/
crypto
/
rng.c
diff --git
a/crypto/rng.c
b/crypto/rng.c
index
f3b7894
..
e0a25c2
100644
(file)
--- a/
crypto/rng.c
+++ b/
crypto/rng.c
@@
-65,7
+65,7
@@
static int crypto_rng_report(struct sk_buff *skb, struct crypto_alg *alg)
{
struct crypto_report_rng rrng;
- s
nprintf(rrng.type, CRYPTO_MAX_ALG_NAME, "%s", "rng"
);
+ s
trncpy(rrng.type, "rng", sizeof(rrng.type)
);
rrng.seedsize = alg->cra_rng.seedsize;