Avoid some warnings, and run "make update".

This commit is contained in:
Bodo Möller 2000-01-14 17:28:48 +00:00
parent 2f878669b7
commit a8eeb155b5
7 changed files with 46 additions and 15 deletions

View File

@ -96,12 +96,13 @@ err_all.o: ../../include/openssl/md2.h ../../include/openssl/md5.h
err_all.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h err_all.o: ../../include/openssl/mdc2.h ../../include/openssl/objects.h
err_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h err_all.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
err_all.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h err_all.o: ../../include/openssl/pem2.h ../../include/openssl/pkcs12.h
err_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rc2.h err_all.o: ../../include/openssl/pkcs7.h ../../include/openssl/rand.h
err_all.o: ../../include/openssl/rc4.h ../../include/openssl/rc5.h err_all.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
err_all.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h err_all.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
err_all.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h err_all.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
err_all.o: ../../include/openssl/stack.h ../../include/openssl/x509.h err_all.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
err_all.o: ../../include/openssl/x509_vfy.h ../../include/openssl/x509v3.h err_all.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
err_all.o: ../../include/openssl/x509v3.h
err_prn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h err_prn.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h
err_prn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h err_prn.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
err_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h err_prn.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h

View File

@ -80,6 +80,7 @@
#include <openssl/x509v3.h> #include <openssl/x509v3.h>
#include <openssl/conf.h> #include <openssl/conf.h>
#include <openssl/pkcs12.h> #include <openssl/pkcs12.h>
#include <openssl/rand.h>
#include <openssl/err.h> #include <openssl/err.h>
void ERR_load_crypto_strings(void) void ERR_load_crypto_strings(void)

View File

@ -592,9 +592,11 @@ static void print_leak(MEM *m, MEM_LEAK *l)
amip=m->app_info; amip=m->app_info;
ami_cnt=0; ami_cnt=0;
if (amip) if (!amip)
return;
ti=amip->thread; ti=amip->thread;
while(amip && amip->thread == ti)
do
{ {
int buf_len; int buf_len;
int info_len; int info_len;
@ -622,6 +624,8 @@ static void print_leak(MEM *m, MEM_LEAK *l)
amip = amip->next; amip = amip->next;
} }
while(amip && amip->thread == ti);
#ifdef LEVITTE_DEBUG #ifdef LEVITTE_DEBUG
if (amip) if (amip)
{ {

View File

@ -416,7 +416,7 @@ static STACK *mime_parse_hdr(BIO *bio)
headers = sk_new(mime_hdr_cmp); headers = sk_new(mime_hdr_cmp);
while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) { while ((len = BIO_gets(bio, linebuf, MAX_SMLEN)) > 0) {
/* If whitespace at line start then continuation line */ /* If whitespace at line start then continuation line */
if(mhdr && isspace(linebuf[0])) state = MIME_NAME; if(mhdr && isspace((unsigned char)linebuf[0])) state = MIME_NAME;
else state = MIME_START; else state = MIME_START;
ntmp = NULL; ntmp = NULL;
/* Go through all characters */ /* Go through all characters */
@ -520,7 +520,7 @@ static char *strip_start(char *name)
/* Else null string */ /* Else null string */
return NULL; return NULL;
} }
if(!isspace(c)) return p; if(!isspace((unsigned char)c)) return p;
} }
return NULL; return NULL;
} }
@ -538,7 +538,7 @@ static char *strip_end(char *name)
*p = 0; *p = 0;
return name; return name;
} }
if(isspace(c)) *p = 0; if(isspace((unsigned char)c)) *p = 0;
else return name; else return name;
} }
return NULL; return NULL;

View File

@ -79,9 +79,11 @@ clean:
# DO NOT DELETE THIS LINE -- make depend depends on it. # DO NOT DELETE THIS LINE -- make depend depends on it.
md_rand.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h md_rand.o: ../../include/openssl/crypto.h ../../include/openssl/e_os.h
md_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/opensslconf.h md_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
md_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/rand.h md_rand.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h
md_rand.o: ../../include/openssl/sha.h ../../include/openssl/stack.h md_rand.o: ../../include/openssl/rand.h ../../include/openssl/sha.h
md_rand.o: ../../include/openssl/stack.h
rand_err.o: ../../include/openssl/err.h ../../include/openssl/rand.h
rand_lib.o: ../../include/openssl/rand.h rand_lib.o: ../../include/openssl/rand.h
randfile.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h randfile.o: ../../include/openssl/e_os.h ../../include/openssl/e_os2.h
randfile.o: ../../include/openssl/opensslconf.h ../../include/openssl/rand.h randfile.o: ../../include/openssl/opensslconf.h ../../include/openssl/rand.h

View File

@ -123,6 +123,24 @@ by_file.o: ../../include/openssl/ripemd.h ../../include/openssl/rsa.h
by_file.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h by_file.o: ../../include/openssl/safestack.h ../../include/openssl/sha.h
by_file.o: ../../include/openssl/stack.h ../../include/openssl/x509.h by_file.o: ../../include/openssl/stack.h ../../include/openssl/x509.h
by_file.o: ../../include/openssl/x509_vfy.h ../cryptlib.h by_file.o: ../../include/openssl/x509_vfy.h ../cryptlib.h
x509_att.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
x509_att.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
x509_att.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h
x509_att.o: ../../include/openssl/conf.h ../../include/openssl/crypto.h
x509_att.o: ../../include/openssl/des.h ../../include/openssl/dh.h
x509_att.o: ../../include/openssl/dsa.h ../../include/openssl/e_os.h
x509_att.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
x509_att.o: ../../include/openssl/evp.h ../../include/openssl/idea.h
x509_att.o: ../../include/openssl/lhash.h ../../include/openssl/md2.h
x509_att.o: ../../include/openssl/md5.h ../../include/openssl/mdc2.h
x509_att.o: ../../include/openssl/objects.h ../../include/openssl/opensslconf.h
x509_att.o: ../../include/openssl/opensslv.h ../../include/openssl/pkcs7.h
x509_att.o: ../../include/openssl/rc2.h ../../include/openssl/rc4.h
x509_att.o: ../../include/openssl/rc5.h ../../include/openssl/ripemd.h
x509_att.o: ../../include/openssl/rsa.h ../../include/openssl/safestack.h
x509_att.o: ../../include/openssl/sha.h ../../include/openssl/stack.h
x509_att.o: ../../include/openssl/x509.h ../../include/openssl/x509_vfy.h
x509_att.o: ../../include/openssl/x509v3.h ../cryptlib.h
x509_cmp.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h x509_cmp.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h
x509_cmp.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h x509_cmp.o: ../../include/openssl/blowfish.h ../../include/openssl/bn.h
x509_cmp.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h x509_cmp.o: ../../include/openssl/buffer.h ../../include/openssl/cast.h

View File

@ -2173,3 +2173,8 @@ X509_radd_attr 2197
X509_ATTRIBUTE_iget_data 2198 X509_ATTRIBUTE_iget_data 2198
X509_delete_attr 2199 X509_delete_attr 2199
X509_get_attr_by_OBJ 2200 X509_get_attr_by_OBJ 2200
RAND_add 2201
BIO_number_written 2202
BIO_number_read 2203
X509_STORE_CTX_rget_chain 2204
ERR_load_RAND_strings 2205