crypto: authencesn - fix weird comma-terminated line
authorEric Biggers <ebiggers@google.com>
Wed, 26 Feb 2020 04:59:13 +0000 (20:59 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 6 Mar 2020 01:28:22 +0000 (12:28 +1100)
Fix a weird case where a line was terminated by a comma rather than a
semicolon, causing the statement to be continued on the next line.
Fortunately the code still behaved as intended, though.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/authencesn.c

index 5890081..149b70d 100644 (file)
@@ -458,7 +458,7 @@ static int crypto_authenc_esn_create(struct crypto_template *tmpl,
        inst->alg.encrypt = crypto_authenc_esn_encrypt;
        inst->alg.decrypt = crypto_authenc_esn_decrypt;
 
-       inst->free = crypto_authenc_esn_free,
+       inst->free = crypto_authenc_esn_free;
 
        err = aead_register_instance(tmpl, inst);
        if (err) {