crypto: testmgr - add missing spaces to drbg error strings
There are a few missing spaces in the error text strings for drbg_cavs_test, trivial fix. CC: "David S. Miller" <davem@davemloft.net> CC: linux-crypto@vger.kernel.org Signed-off-by: Jarod Wilson <jarod@redhat.com> Acked-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
c659d07f11
commit
2fc0d258bc
1 changed files with 3 additions and 3 deletions
|
@ -1778,7 +1778,7 @@ static int drbg_cavs_test(struct drbg_testvec *test, int pr,
|
||||||
|
|
||||||
drng = crypto_alloc_rng(driver, type, mask);
|
drng = crypto_alloc_rng(driver, type, mask);
|
||||||
if (IS_ERR(drng)) {
|
if (IS_ERR(drng)) {
|
||||||
printk(KERN_ERR "alg: drbg: could not allocate DRNG handle for"
|
printk(KERN_ERR "alg: drbg: could not allocate DRNG handle for "
|
||||||
"%s\n", driver);
|
"%s\n", driver);
|
||||||
kzfree(buf);
|
kzfree(buf);
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
@ -1803,7 +1803,7 @@ static int drbg_cavs_test(struct drbg_testvec *test, int pr,
|
||||||
buf, test->expectedlen, &addtl);
|
buf, test->expectedlen, &addtl);
|
||||||
}
|
}
|
||||||
if (ret <= 0) {
|
if (ret <= 0) {
|
||||||
printk(KERN_ERR "alg: drbg: could not obtain random data for"
|
printk(KERN_ERR "alg: drbg: could not obtain random data for "
|
||||||
"driver %s\n", driver);
|
"driver %s\n", driver);
|
||||||
goto outbuf;
|
goto outbuf;
|
||||||
}
|
}
|
||||||
|
@ -1818,7 +1818,7 @@ static int drbg_cavs_test(struct drbg_testvec *test, int pr,
|
||||||
buf, test->expectedlen, &addtl);
|
buf, test->expectedlen, &addtl);
|
||||||
}
|
}
|
||||||
if (ret <= 0) {
|
if (ret <= 0) {
|
||||||
printk(KERN_ERR "alg: drbg: could not obtain random data for"
|
printk(KERN_ERR "alg: drbg: could not obtain random data for "
|
||||||
"driver %s\n", driver);
|
"driver %s\n", driver);
|
||||||
goto outbuf;
|
goto outbuf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue