Fix warnings, makefile cockup.

This commit is contained in:
Ben Laurie 2002-11-13 11:59:48 +00:00
parent d479dc1d02
commit eb43641dd3
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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 \