migrated write_chunk() to chunk_write()

This commit is contained in:
Andreas Steffen
2009-04-20 06:58:00 +00:00
parent 4f4ae2f465
commit 3eb5042e9c
8 changed files with 25 additions and 81 deletions
+1 -2
View File
@@ -564,9 +564,8 @@ int main(int argc, char **argv)
/* write the attribute certificate to file */
attr_chunk = attr_cert->get_encoding(attr_cert);
if (chunk_write(attr_chunk, outfile, 0022, TRUE))
if (chunk_write(attr_chunk, outfile, "attribute cert", 0022, TRUE))
{
DBG1(" wrote attribute cert file '%s' (%u bytes)", outfile, attr_chunk.len);
write_serial(serial);
status = 0;
}