+2001-06-21 Ezra Peisach <epeisach@mit.edu>
+
+ * t_shs.c: Cast arguments to match printf format. Declare main as
+ returning int. Comment out unused variables.
+
2001-03-14 Ken Raeburn <raeburn@mit.edu>
* shs.h: Stop using KRB5_PROTOTYPE.
if (fail) {
printf("\nExpected: ");
for (i = 0; i < 5; i++) {
- printf("%8.8lx ", shsTestResults[shsTestLevel][i]);
+ printf("%8.8lx ", (unsigned long) shsTestResults[shsTestLevel][i]);
}
printf("\nGot: ");
for (i = 0; i < 5; i++) {
- printf("%8.8lx ", shsInfo->digest[i]);
+ printf("%8.8lx ", (unsigned long) shsInfo->digest[i]);
}
printf("\n");
return( -1 );
return( 0 );
}
+int
main()
{
SHS_INFO shsInfo;
unsigned int i;
+#if 0
time_t secondCount;
BYTE data[ 200 ];
+#endif
/* Make sure we've got the endianness set right. If the machine is
big-endian (up to 64 bits) the following value will be signed,