remove some unused stuff, small fixups, use -Wextra

This commit is contained in:
cathugger
2020-01-14 17:51:56 +00:00
parent e6d0f59f1d
commit 30c05eb266
6 changed files with 10 additions and 208 deletions

View File

@@ -48,7 +48,7 @@ curve25519_recip(bignum25519 out, const bignum25519 z) {
/* 2^255 - 21 */ curve25519_mul_noinline(out, b, a);
}
const static unsigned char curve25519_packedone[32] = {
static const unsigned char curve25519_packedone[32] = {
1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,