Fix some warnings.
This commit is contained in:
parent
b30ff644ad
commit
f36cd05b22
@ -5,8 +5,6 @@
|
|||||||
VERSION = 0.9.2b
|
VERSION = 0.9.2b
|
||||||
PLATFORM=dist
|
PLATFORM=dist
|
||||||
|
|
||||||
# NOCONST - Define for C compilers that don't like the const key word.
|
|
||||||
# NOPROTO - Define in if your compiler does not support prototypes.
|
|
||||||
# RSAref - Define if we are to link with RSAref.
|
# RSAref - Define if we are to link with RSAref.
|
||||||
# NO_IDEA - Define to build without the IDEA algorithm
|
# NO_IDEA - Define to build without the IDEA algorithm
|
||||||
# NO_RC4 - Define to build without the RC4 algorithm
|
# NO_RC4 - Define to build without the RC4 algorithm
|
||||||
|
@ -362,11 +362,11 @@ static int test(void)
|
|||||||
printf("BF_encrypt error encrypting\n");
|
printf("BF_encrypt error encrypting\n");
|
||||||
printf("got :");
|
printf("got :");
|
||||||
for (i=0; i<2; i++)
|
for (i=0; i<2; i++)
|
||||||
printf("%08lX ",data[i]);
|
printf("%08lX ",(unsigned long)data[i]);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("expected:");
|
printf("expected:");
|
||||||
for (i=0; i<2; i++)
|
for (i=0; i<2; i++)
|
||||||
printf("%08lX ",bf_cipher[n][i]);
|
printf("%08lX ",(unsigned long)bf_cipher[n][i]);
|
||||||
err=1;
|
err=1;
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
@ -377,11 +377,11 @@ static int test(void)
|
|||||||
printf("BF_encrypt error decrypting\n");
|
printf("BF_encrypt error decrypting\n");
|
||||||
printf("got :");
|
printf("got :");
|
||||||
for (i=0; i<2; i++)
|
for (i=0; i<2; i++)
|
||||||
printf("%08lX ",data[i]);
|
printf("%08lX ",(unsigned long)data[i]);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("expected:");
|
printf("expected:");
|
||||||
for (i=0; i<2; i++)
|
for (i=0; i<2; i++)
|
||||||
printf("%08lX ",bf_plain[n][i]);
|
printf("%08lX ",(unsigned long)bf_plain[n][i]);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
err=1;
|
err=1;
|
||||||
}
|
}
|
||||||
|
@ -82,7 +82,7 @@ char *SHA1_version="SHA1" OPENSSL_VERSION_PTEXT;
|
|||||||
|
|
||||||
#ifndef NOPROTO
|
#ifndef NOPROTO
|
||||||
# ifdef SHA1_ASM
|
# ifdef SHA1_ASM
|
||||||
void sha1_block_x86(SHA_CTX *c, register unsigned long *p, int num);
|
void sha1_block_x86(SHA_CTX *c, register SHA_LONG *p, int num);
|
||||||
# define sha1_block sha1_block_x86
|
# define sha1_block sha1_block_x86
|
||||||
# else
|
# else
|
||||||
void sha1_block(SHA_CTX *c, register SHA_LONG *p, int num);
|
void sha1_block(SHA_CTX *c, register SHA_LONG *p, int num);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user