aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/ead/src/tinysrp/bn_mul.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-21 15:54:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-21 15:54:59 +0000
commitc97013b87bf23d3684aa8a796e00305452af8beb (patch)
treefc92fd4e7ae934b1c85b6fbf78b59d2b93257505 /package/network/services/ead/src/tinysrp/bn_mul.c
parentdd4175bcc12c2f2d089f5dfd5724b4c30c49de3b (diff)
downloadmaster-187ad058-c97013b87bf23d3684aa8a796e00305452af8beb.tar.gz
master-187ad058-c97013b87bf23d3684aa8a796e00305452af8beb.tar.bz2
master-187ad058-c97013b87bf23d3684aa8a796e00305452af8beb.zip
ead: clean up
Remove unused variables Correct some (non important) memory leaks Remove fclose(NULL) Correct possible out of bound access spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39994 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/ead/src/tinysrp/bn_mul.c')
-rw-r--r--package/network/services/ead/src/tinysrp/bn_mul.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/network/services/ead/src/tinysrp/bn_mul.c b/package/network/services/ead/src/tinysrp/bn_mul.c
index d2d9fc5571..92330e5ecf 100644
--- a/package/network/services/ead/src/tinysrp/bn_mul.c
+++ b/package/network/services/ead/src/tinysrp/bn_mul.c
@@ -68,10 +68,6 @@ int BN_mul(BIGNUM *r, BIGNUM *a, BIGNUM *b, BN_CTX *ctx)
#if defined(BN_MUL_COMBA) || defined(BN_RECURSION)
int i;
#endif
-#ifdef BN_RECURSION
- BIGNUM *t;
- int j,k;
-#endif
#ifdef BN_COUNT
printf("BN_mul %d * %d\n",a->top,b->top);