Fix (spurious) warnings.
authorBen Laurie <ben@openssl.org>
Tue, 9 Nov 1999 12:09:24 +0000 (12:09 +0000)
committerBen Laurie <ben@openssl.org>
Tue, 9 Nov 1999 12:09:24 +0000 (12:09 +0000)
apps/ca.c
crypto/dh/dhtest.c

index 93f992b..fc3fae2 100644 (file)
--- 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;
index 687ce71..dbdb963 100644 (file)
@@ -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;