{
int v;
ASN1_OBJECT *policy_id;
- ASN1_INTEGER *nonce;
+ const ASN1_INTEGER *nonce;
if (a == NULL) return 0;
v = TS_REQ_get_version(a);
- BIO_printf(bio, "Version: %ld\n", v);
+ BIO_printf(bio, "Version: %d\n", v);
TS_MSG_IMPRINT_print_bio(bio, TS_REQ_get_msg_imprint(a));