From eb43641dd37824f2fc3db1b3920fe1e4245136ec Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Wed, 13 Nov 2002 11:59:48 +0000 Subject: [PATCH] Fix warnings, makefile cockup. --- crypto/asn1/asn1_gen.c | 4 ++-- test/Makefile.ssl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crypto/asn1/asn1_gen.c b/crypto/asn1/asn1_gen.c index 62c2c154d1..0c5dd9b52b 100644 --- a/crypto/asn1/asn1_gen.c +++ b/crypto/asn1/asn1_gen.c @@ -143,7 +143,7 @@ ASN1_TYPE *ASN1_generate_v3(char *str, X509V3_CTX *cnf) unsigned char *cpy_start, *p; int cpy_len; long hdr_len; - int hdr_constructed, hdr_tag, hdr_class; + int hdr_constructed = 0, hdr_tag, hdr_class; int r; asn1_tags.imp_tag = -1; @@ -268,7 +268,7 @@ static int asn1_cb(const char *elem, int len, void *bitstr) tag_exp_arg *arg = bitstr; int i; int utype; - int vlen; + int vlen = 0; const char *p, *vstart = NULL; int tmp_tag, tmp_class; diff --git a/test/Makefile.ssl b/test/Makefile.ssl index a40b8e9d68..f6fe2bb727 100644 --- a/test/Makefile.ssl +++ b/test/Makefile.ssl @@ -483,7 +483,7 @@ $(ECDSATEST): $(ECDSATEST).o $(DLIBCRYPTO) else \ $(CC) -o $(ECDSATEST) $(CFLAGS) $(ECDSATEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ fi - + $(ECDHTEST): $(ECDHTEST).o $(DLIBCRYPTO) if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ $(CC) -o $(ECDHTEST) $(CFLAGS) $(ECDHTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ @@ -499,7 +499,7 @@ $(ECDHTEST): $(ECDHTEST).o $(DLIBCRYPTO) # $(CC) -o $(RDTEST) $(CFLAGS) $(RDTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \ # else \ # $(CC) -o $(RDTEST) $(CFLAGS) $(RDTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \ - fi +# fi dummytest: dummytest.o $(DLIBCRYPTO) if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \ -- GitLab