Cast size_t to unsigned long when print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16014 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -425,7 +425,7 @@ p12_init(hx509_certs certs, void **data, int flags,
|
|||||||
|
|
||||||
free_PKCS12_AuthenticatedSafe(&as);
|
free_PKCS12_AuthenticatedSafe(&as);
|
||||||
|
|
||||||
printf("found %d private keys\n", c.val.len);
|
printf("found %lu private keys\n", (unsigned long)c.val.len);
|
||||||
|
|
||||||
for (i = 0; i < c.val.len; i++) {
|
for (i = 0; i < c.val.len; i++) {
|
||||||
hx509_cert cert;
|
hx509_cert cert;
|
||||||
@@ -505,9 +505,6 @@ p12_iter_end(hx509_certs certs,
|
|||||||
return hx509_certs_end_seq(p12->certs, cursor);
|
return hx509_certs_end_seq(p12->certs, cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static struct hx509_keyset_ops keyset_pkcs12 = {
|
static struct hx509_keyset_ops keyset_pkcs12 = {
|
||||||
"PKCS12",
|
"PKCS12",
|
||||||
0,
|
0,
|
||||||
|
Reference in New Issue
Block a user