Commit:     e4c5c6c9b0d04a7dac19027260f7421305a34856
Parent:     720a650f8ab3166d32fc5da64961e8d2158b9452
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Fri Sep 28 09:07:12 2007 +0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Wed Oct 10 16:55:46 2007 -0700

    [CRYPTO] authenc: Kill spaces in algorithm names
    We do not allow spaces in algorithm names or parameters.  Thanks to Joy 
    for pointing this out.
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
 crypto/authenc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/authenc.c b/crypto/authenc.c
index 86b3ac8..0b29a6a 100644
--- a/crypto/authenc.c
+++ b/crypto/authenc.c
@@ -312,12 +312,12 @@ static struct crypto_instance 
*crypto_authenc_alloc(struct rtattr **tb)
        err = -ENAMETOOLONG;
        if (snprintf(inst->alg.cra_name, CRYPTO_MAX_ALG_NAME,
-                    "authenc(%s, %u, %s, %u)", auth->cra_name, authsize,
+                    "authenc(%s,%u,%s,%u)", auth->cra_name, authsize,
                     enc->cra_name, enckeylen) >= CRYPTO_MAX_ALG_NAME)
                goto err_free_inst;
        if (snprintf(inst->alg.cra_driver_name, CRYPTO_MAX_ALG_NAME,
-                    "authenc(%s, %u, %s, %u)", auth->cra_driver_name,
+                    "authenc(%s,%u,%s,%u)", auth->cra_driver_name,
                     authsize, enc->cra_driver_name, enckeylen) >=
                goto err_free_inst;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to