diff options
author | Jarod Wilson <jarod@redhat.com> | 2014-07-29 15:47:56 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-08-01 10:36:13 -0400 |
commit | 2fc0d258bc5f88de31d1d2e239a3521e2a6535f8 (patch) | |
tree | 4dce2d545e54062a84f3f613938d26f1ef74ba70 | |
parent | c659d07f11a359aa053e35d3ee549289c86fab64 (diff) |
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>
-rw-r--r-- | crypto/testmgr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 81818b9a1b83..ac2b63105afc 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c | |||
@@ -1778,7 +1778,7 @@ static int drbg_cavs_test(struct drbg_testvec *test, int pr, | |||
1778 | 1778 | ||
1779 | drng = crypto_alloc_rng(driver, type, mask); | 1779 | drng = crypto_alloc_rng(driver, type, mask); |
1780 | if (IS_ERR(drng)) { | 1780 | if (IS_ERR(drng)) { |
1781 | printk(KERN_ERR "alg: drbg: could not allocate DRNG handle for" | 1781 | printk(KERN_ERR "alg: drbg: could not allocate DRNG handle for " |
1782 | "%s\n", driver); | 1782 | "%s\n", driver); |
1783 | kzfree(buf); | 1783 | kzfree(buf); |
1784 | return -ENOMEM; | 1784 | return -ENOMEM; |
@@ -1803,7 +1803,7 @@ static int drbg_cavs_test(struct drbg_testvec *test, int pr, | |||
1803 | buf, test->expectedlen, &addtl); | 1803 | buf, test->expectedlen, &addtl); |
1804 | } | 1804 | } |
1805 | if (ret <= 0) { | 1805 | if (ret <= 0) { |
1806 | printk(KERN_ERR "alg: drbg: could not obtain random data for" | 1806 | printk(KERN_ERR "alg: drbg: could not obtain random data for " |
1807 | "driver %s\n", driver); | 1807 | "driver %s\n", driver); |
1808 | goto outbuf; | 1808 | goto outbuf; |
1809 | } | 1809 | } |
@@ -1818,7 +1818,7 @@ static int drbg_cavs_test(struct drbg_testvec *test, int pr, | |||
1818 | buf, test->expectedlen, &addtl); | 1818 | buf, test->expectedlen, &addtl); |
1819 | } | 1819 | } |
1820 | if (ret <= 0) { | 1820 | if (ret <= 0) { |
1821 | printk(KERN_ERR "alg: drbg: could not obtain random data for" | 1821 | printk(KERN_ERR "alg: drbg: could not obtain random data for " |
1822 | "driver %s\n", driver); | 1822 | "driver %s\n", driver); |
1823 | goto outbuf; | 1823 | goto outbuf; |
1824 | } | 1824 | } |