struct tm tm;
/* ignore cssmTime->timeType for now */
- if(cuTimeStringToTm((char *)cssmTime->Data, cssmTime->Length, &tm)) {
+ if(cuTimeStringToTm((char *)cssmTime->Data, (unsigned int)cssmTime->Length, &tm)) {
printf("***Bad time string format***\n");
return;
}
{
unsigned i;
bool more = false;
- uint32 len = d->Length;
+ uint32 len = (uint32)d->Length;
uint8 *cp = d->Data;
if((maxToPrint != 0) && (len > maxToPrint)) {
printf("EMPTY\n");
return;
}
- parser.oidParse(oid->Data, oid->Length, strBuf);
+ parser.oidParse(oid->Data, (unsigned int)oid->Length, strBuf);
printf("%s\n", strBuf);
}
printString(thing);
return;
case BER_TAG_OCTET_STRING:
- printBlobBytes("Byte string", "bytes", thing->Length, thing);
+ printBlobBytes("Byte string", "bytes", (uint32)thing->Length, thing);
return;
case BER_TAG_BIT_STRING:
- printBlobBytes("Bit string", "bits", (thing->Length + 7) / 8, thing);
+ printBlobBytes("Bit string", "bits", (uint32)(thing->Length + 7) / 8, thing);
return;
case BER_TAG_SEQUENCE:
- printBlobBytes("Sequence", "bytes", thing->Length, thing);
+ printBlobBytes("Sequence", "bytes", (uint32)thing->Length, thing);
return;
case BER_TAG_SET:
- printBlobBytes("Set", "bytes", thing->Length, thing);
+ printBlobBytes("Set", "bytes", (uint32)thing->Length, thing);
return;
case BER_TAG_OID:
printf("OID = ");
case GNT_X400Address:
/* ORAddress, a very complicated struct - punt */
printf(" X400Address : ");
- printBlobBytes("Sequence", "bytes", name->name.Length, &name->name);
+ printBlobBytes("Sequence", "bytes", (uint32)name->name.Length, &name->name);
break;
case GNT_DirectoryName:
if(!name->berEncoded) {
/* encoded Name (i.e. CSSM_X509_NAME) */
printf(" Dir Name : ");
printBlobBytes("Byte string", "bytes",
- name->name.Length, &name->name);
+ (uint32)name->name.Length, &name->name);
}
break;
case GNT_EdiPartyName:
/* sequence EDIPartyName */
printf(" EdiPartyName : ");
- printBlobBytes("Sequence", "bytes", name->name.Length, &name->name);
+ printBlobBytes("Sequence", "bytes", (uint32)name->name.Length, &name->name);
break;
case GNT_OtherName:
{
}
}
+static
void printCrlExten(
const CSSM_X509_EXTENSION *exten,
CSSM_BOOL verbose,
}
}
+
+static
void printCrlEntryExten(
const CSSM_X509_EXTENSION *exten,
CSSM_BOOL verbose,
}
}
+static
void printCrlFields(
const CSSM_X509_SIGNED_CRL *signedCrl,
CSSM_BOOL verbose,