From 95fdc5eef9f4b9c5cf296dd9d51a39eb07bb0aaa Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Tue, 9 Nov 1999 12:09:24 +0000 Subject: [PATCH] Fix (spurious) warnings. --- apps/ca.c | 2 +- crypto/dh/dhtest.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/ca.c b/apps/ca.c index 93f992b2f4..fc3fae2c19 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -266,7 +266,7 @@ int MAIN(int argc, char **argv) #undef BSIZE #define BSIZE 256 MS_STATIC char buf[3][BSIZE]; - char *randfile; + char *randfile=NULL; #ifdef EFENCE EF_PROTECT_FREE=1; diff --git a/crypto/dh/dhtest.c b/crypto/dh/dhtest.c index 687ce71611..dbdb963828 100644 --- a/crypto/dh/dhtest.c +++ b/crypto/dh/dhtest.c @@ -89,7 +89,8 @@ static void MS_CALLBACK cb(int p, int n, void *arg); int main(int argc, char *argv[]) { - DH *a,*b; + DH *a; + DH *b=NULL; char buf[12]; unsigned char *abuf=NULL,*bbuf=NULL; int i,alen,blen,aout,bout,ret=1; -- GitLab