From 9941648125efad604de451b09bbf903bce6ac41c Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Fri, 7 Apr 2017 00:17:43 +0200 Subject: [PATCH] remove suspicious ; --- src/encauth/chachapoly/chacha20poly1305_test.c | 2 +- src/mac/poly1305/poly1305_file.c | 2 +- src/mac/poly1305/poly1305_memory.c | 2 +- src/mac/poly1305/poly1305_memory_multi.c | 2 +- src/mac/poly1305/poly1305_test.c | 2 +- src/stream/chacha/chacha_crypt.c | 2 +- src/stream/chacha/chacha_done.c | 2 +- src/stream/chacha/chacha_ivctr32.c | 2 +- src/stream/chacha/chacha_ivctr64.c | 2 +- src/stream/chacha/chacha_setup.c | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/encauth/chachapoly/chacha20poly1305_test.c b/src/encauth/chachapoly/chacha20poly1305_test.c index 4d53d26..36d5129 100644 --- a/src/encauth/chachapoly/chacha20poly1305_test.c +++ b/src/encauth/chachapoly/chacha20poly1305_test.c @@ -104,6 +104,6 @@ int chacha20poly1305_test(void) return CRYPT_OK; #endif -}; +} #endif diff --git a/src/mac/poly1305/poly1305_file.c b/src/mac/poly1305/poly1305_file.c index e119b92..1c3e61e 100644 --- a/src/mac/poly1305/poly1305_file.c +++ b/src/mac/poly1305/poly1305_file.c @@ -65,6 +65,6 @@ LBL_ERR: XFREE(buf); return err; #endif -}; +} #endif diff --git a/src/mac/poly1305/poly1305_memory.c b/src/mac/poly1305/poly1305_memory.c index 2f7a8e0..b948efb 100644 --- a/src/mac/poly1305/poly1305_memory.c +++ b/src/mac/poly1305/poly1305_memory.c @@ -44,6 +44,6 @@ LBL_ERR: zeromem(&st, sizeof(poly1305_state)); #endif return err; -}; +} #endif diff --git a/src/mac/poly1305/poly1305_memory_multi.c b/src/mac/poly1305/poly1305_memory_multi.c index 047f5fd..0ac122e 100644 --- a/src/mac/poly1305/poly1305_memory_multi.c +++ b/src/mac/poly1305/poly1305_memory_multi.c @@ -58,6 +58,6 @@ LBL_ERR: #endif va_end(args); return err; -}; +} #endif diff --git a/src/mac/poly1305/poly1305_test.c b/src/mac/poly1305/poly1305_test.c index 8f7c1e2..57501a5 100644 --- a/src/mac/poly1305/poly1305_test.c +++ b/src/mac/poly1305/poly1305_test.c @@ -45,6 +45,6 @@ int poly1305_test(void) if (compare_testvector(out, len, tag, sizeof(tag), "POLY1305-TV2", 1) != 0) return CRYPT_FAIL_TESTVECTOR; return CRYPT_OK; #endif -}; +} #endif diff --git a/src/stream/chacha/chacha_crypt.c b/src/stream/chacha/chacha_crypt.c index dbd7e9c..59e087a 100644 --- a/src/stream/chacha/chacha_crypt.c +++ b/src/stream/chacha/chacha_crypt.c @@ -85,6 +85,6 @@ int chacha_crypt(chacha_state *st, const unsigned char *in, unsigned long inlen, in += 64; } return CRYPT_OK; -}; +} #endif diff --git a/src/stream/chacha/chacha_done.c b/src/stream/chacha/chacha_done.c index 2e25177..4d6e278 100644 --- a/src/stream/chacha/chacha_done.c +++ b/src/stream/chacha/chacha_done.c @@ -21,6 +21,6 @@ int chacha_done(chacha_state *st) LTC_ARGCHK(st != NULL); XMEMSET(st, 0, sizeof(chacha_state)); return CRYPT_OK; -}; +} #endif diff --git a/src/stream/chacha/chacha_ivctr32.c b/src/stream/chacha/chacha_ivctr32.c index 64dc838..14780f8 100644 --- a/src/stream/chacha/chacha_ivctr32.c +++ b/src/stream/chacha/chacha_ivctr32.c @@ -37,6 +37,6 @@ int chacha_ivctr32(chacha_state *st, const unsigned char *iv, unsigned long ivle LOAD32L(st->input[15], iv + 8); st->ksleft = 0; return CRYPT_OK; -}; +} #endif diff --git a/src/stream/chacha/chacha_ivctr64.c b/src/stream/chacha/chacha_ivctr64.c index c2826bb..6a6c43d 100644 --- a/src/stream/chacha/chacha_ivctr64.c +++ b/src/stream/chacha/chacha_ivctr64.c @@ -37,6 +37,6 @@ int chacha_ivctr64(chacha_state *st, const unsigned char *iv, unsigned long ivle LOAD32L(st->input[15], iv + 4); st->ksleft = 0; return CRYPT_OK; -}; +} #endif diff --git a/src/stream/chacha/chacha_setup.c b/src/stream/chacha/chacha_setup.c index f56f667..8a20e90 100644 --- a/src/stream/chacha/chacha_setup.c +++ b/src/stream/chacha/chacha_setup.c @@ -55,6 +55,6 @@ int chacha_setup(chacha_state *st, const unsigned char *key, unsigned long keyle LOAD32L(st->input[3], constants + 12); st->rounds = rounds; /* e.g. 20 for chacha20 */ return CRYPT_OK; -}; +} #endif