summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-02-25 20:59:13 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-03-06 12:28:22 +1100
commitd1dc4df1fe21df4f83b8aa7997310480df72eddc (patch)
tree24f5ede47ebec6782f8de23de8686c6a28ee16dd /crypto
parentbaaa30fa6166279e34fea8a1c9f08a7bdcdda2e5 (diff)
downloadlinux-riscv-d1dc4df1fe21df4f83b8aa7997310480df72eddc.tar.gz
linux-riscv-d1dc4df1fe21df4f83b8aa7997310480df72eddc.tar.bz2
linux-riscv-d1dc4df1fe21df4f83b8aa7997310480df72eddc.zip
crypto: authencesn - fix weird comma-terminated line
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>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/authencesn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/authencesn.c b/crypto/authencesn.c
index 589008146fce..149b70df2a91 100644
--- a/crypto/authencesn.c
+++ b/crypto/authencesn.c
@@ -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) {