From 5767db4cb5b9c88b52019bca12ab5193d33b897c Mon Sep 17 00:00:00 2001 From: toddouska Date: Tue, 13 Nov 2012 18:32:13 -0800 Subject: [PATCH] minor warnings fixes --- ctaocrypt/src/tfm.c | 2 +- src/internal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ctaocrypt/src/tfm.c b/ctaocrypt/src/tfm.c index b048b1680..e6c1af2aa 100644 --- a/ctaocrypt/src/tfm.c +++ b/ctaocrypt/src/tfm.c @@ -1548,7 +1548,7 @@ void fp_montgomery_calc_normalization(fp_int *a, fp_int *b) /* computes x/R == x (mod N) via Montgomery Reduction */ void fp_montgomery_reduce(fp_int *a, fp_int *m, fp_digit mp) { - fp_digit c[FP_SIZE], *_c, *tmpm, mu; + fp_digit c[FP_SIZE], *_c, *tmpm, mu = 0; int oldused, x, y, pa; /* bail if too large */ diff --git a/src/internal.c b/src/internal.c index fe7c9fe7b..6215133a2 100644 --- a/src/internal.c +++ b/src/internal.c @@ -7546,7 +7546,7 @@ int SetCipherList(Suites* s, const char* list) { int ret = 0; word32 length = 0; - byte* out; + byte* out = NULL; (void)length; /* shut up compiler warnings */ (void)out;