Work with -pedantic!
This commit is contained in:
@@ -94,8 +94,8 @@ pem_all.o: ../../include/mdc2.h ../../include/objects.h ../../include/pkcs7.h
|
||||
pem_all.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
|
||||
pem_all.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
|
||||
pem_all.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
|
||||
pem_all.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
|
||||
pem_all.o: pem.h pem2.h
|
||||
pem_all.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
|
||||
pem_all.o: ../opensslv.h pem.h pem2.h
|
||||
pem_err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
||||
pem_err.o: ../../include/bn.h ../../include/cast.h ../../include/des.h
|
||||
pem_err.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
|
||||
@@ -105,7 +105,7 @@ pem_err.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
|
||||
pem_err.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
|
||||
pem_err.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
|
||||
pem_err.o: ../../include/x509.h ../../include/x509_vfy.h ../crypto.h
|
||||
pem_err.o: ../opensslv.h pem.h pem2.h
|
||||
pem_err.o: ../opensslconf.h ../opensslv.h pem.h pem2.h
|
||||
pem_info.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
||||
pem_info.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
|
||||
pem_info.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
|
||||
@@ -116,7 +116,7 @@ pem_info.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
|
||||
pem_info.o: ../../include/ripemd.h ../../include/rsa.h
|
||||
pem_info.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
|
||||
pem_info.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
|
||||
pem_info.o: ../crypto.h ../opensslv.h pem.h pem2.h
|
||||
pem_info.o: ../crypto.h ../opensslconf.h ../opensslv.h pem.h pem2.h
|
||||
pem_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
||||
pem_lib.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
|
||||
pem_lib.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
|
||||
@@ -127,7 +127,7 @@ pem_lib.o: ../../include/rand.h ../../include/rc2.h ../../include/rc4.h
|
||||
pem_lib.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
|
||||
pem_lib.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
|
||||
pem_lib.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
|
||||
pem_lib.o: ../crypto.h ../opensslv.h pem.h pem2.h
|
||||
pem_lib.o: ../crypto.h ../opensslconf.h ../opensslv.h pem.h pem2.h
|
||||
pem_seal.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
||||
pem_seal.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
|
||||
pem_seal.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
|
||||
@@ -138,7 +138,7 @@ pem_seal.o: ../../include/rand.h ../../include/rc2.h ../../include/rc4.h
|
||||
pem_seal.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
|
||||
pem_seal.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
|
||||
pem_seal.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
|
||||
pem_seal.o: ../crypto.h ../opensslv.h pem.h pem2.h
|
||||
pem_seal.o: ../crypto.h ../opensslconf.h ../opensslv.h pem.h pem2.h
|
||||
pem_sign.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
|
||||
pem_sign.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
|
||||
pem_sign.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
|
||||
@@ -149,4 +149,4 @@ pem_sign.o: ../../include/rand.h ../../include/rc2.h ../../include/rc4.h
|
||||
pem_sign.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
|
||||
pem_sign.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
|
||||
pem_sign.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
|
||||
pem_sign.o: ../crypto.h ../opensslv.h pem.h pem2.h
|
||||
pem_sign.o: ../crypto.h ../opensslconf.h ../opensslv.h pem.h pem2.h
|
||||
|
||||
@@ -591,7 +591,7 @@ int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
|
||||
PEMerr(PEM_F_PEM_READ_BIO,ERR_R_MALLOC_FAILURE);
|
||||
goto err;
|
||||
}
|
||||
strncpy(nameB->data,&(buf[11]),(unsigned int)i-6);
|
||||
memcpy(nameB->data,&(buf[11]),i-6);
|
||||
nameB->data[i-6]='\0';
|
||||
break;
|
||||
}
|
||||
@@ -616,7 +616,7 @@ int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
|
||||
nohead=1;
|
||||
break;
|
||||
}
|
||||
strncpy(&(headerB->data[hl]),buf,(unsigned int)i);
|
||||
memcpy(&(headerB->data[hl]),buf,i);
|
||||
headerB->data[hl+i]='\0';
|
||||
hl+=i;
|
||||
}
|
||||
@@ -644,7 +644,7 @@ int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
|
||||
PEMerr(PEM_F_PEM_READ_BIO,ERR_R_MALLOC_FAILURE);
|
||||
goto err;
|
||||
}
|
||||
strncpy(&(dataB->data[bl]),buf,(unsigned int)i);
|
||||
memcpy(&(dataB->data[bl]),buf,i);
|
||||
dataB->data[bl+i]='\0';
|
||||
bl+=i;
|
||||
if (end)
|
||||
@@ -669,7 +669,7 @@ int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
|
||||
}
|
||||
i=strlen(nameB->data);
|
||||
if ( (strncmp(buf,"-----END ",9) != 0) ||
|
||||
(strncmp(nameB->data,&(buf[9]),(unsigned int)i) != 0) ||
|
||||
(strncmp(nameB->data,&(buf[9]),i) != 0) ||
|
||||
(strncmp(&(buf[9+i]),"-----\n",6) != 0))
|
||||
{
|
||||
PEMerr(PEM_F_PEM_READ_BIO,PEM_R_BAD_END_LINE);
|
||||
|
||||
Reference in New Issue
Block a user