mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Remove unnecessary casts and avoid some warnings with gcc 4.2.
This commit is contained in:
parent
3c07d3a3d3
commit
0b99d4f1d1
@ -97,12 +97,12 @@ static char *pt(unsigned char *md);
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int i,err=0;
|
||||
unsigned char **P,**R;
|
||||
char **P,**R;
|
||||
char *p;
|
||||
unsigned char md[MD4_DIGEST_LENGTH];
|
||||
|
||||
P=(unsigned char **)test;
|
||||
R=(unsigned char **)ret;
|
||||
P=test;
|
||||
R=ret;
|
||||
i=1;
|
||||
while (*P != NULL)
|
||||
{
|
||||
|
@ -97,12 +97,12 @@ static char *pt(unsigned char *md);
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int i,err=0;
|
||||
unsigned char **P,**R;
|
||||
char **P,**R;
|
||||
char *p;
|
||||
unsigned char md[MD5_DIGEST_LENGTH];
|
||||
|
||||
P=(unsigned char **)test;
|
||||
R=(unsigned char **)ret;
|
||||
P=test;
|
||||
R=ret;
|
||||
i=1;
|
||||
while (*P != NULL)
|
||||
{
|
||||
|
@ -103,12 +103,12 @@ static char *pt(unsigned char *md);
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int i,err=0;
|
||||
unsigned char **P,**R;
|
||||
char **P,**R;
|
||||
char *p;
|
||||
unsigned char md[RIPEMD160_DIGEST_LENGTH];
|
||||
|
||||
P=(unsigned char **)test;
|
||||
R=(unsigned char **)ret;
|
||||
P=test;
|
||||
R=ret;
|
||||
i=1;
|
||||
while (*P != NULL)
|
||||
{
|
||||
|
@ -106,7 +106,7 @@ static char *pt(unsigned char *md);
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int i,err=0;
|
||||
unsigned char **P,**R;
|
||||
char **P,**R;
|
||||
static unsigned char buf[1000];
|
||||
char *p,*r;
|
||||
EVP_MD_CTX c;
|
||||
@ -118,8 +118,8 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
|
||||
EVP_MD_CTX_init(&c);
|
||||
P=(unsigned char **)test;
|
||||
R=(unsigned char **)ret;
|
||||
P=test;
|
||||
R=ret;
|
||||
i=1;
|
||||
while (*P != NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user