Commit e4c5c6c9b0d04a7dac19027260f7421305a34856
Committed by
David S. Miller
1 parent
720a650f8a
Exists in
master
and in
20 other branches
[CRYPTO] authenc: Kill spaces in algorithm names
We do not allow spaces in algorithm names or parameters. Thanks to Joy Latten for pointing this out. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
crypto/authenc.c
... | ... | @@ -312,12 +312,12 @@ |
312 | 312 | |
313 | 313 | err = -ENAMETOOLONG; |
314 | 314 | if (snprintf(inst->alg.cra_name, CRYPTO_MAX_ALG_NAME, |
315 | - "authenc(%s, %u, %s, %u)", auth->cra_name, authsize, | |
315 | + "authenc(%s,%u,%s,%u)", auth->cra_name, authsize, | |
316 | 316 | enc->cra_name, enckeylen) >= CRYPTO_MAX_ALG_NAME) |
317 | 317 | goto err_free_inst; |
318 | 318 | |
319 | 319 | if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME, |
320 | - "authenc(%s, %u, %s, %u)", auth->cra_driver_name, | |
320 | + "authenc(%s,%u,%s,%u)", auth->cra_driver_name, | |
321 | 321 | authsize, enc->cra_driver_name, enckeylen) >= |
322 | 322 | CRYPTO_MAX_ALG_NAME) |
323 | 323 | goto err_free_inst; |