corrected variable name
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 17 Apr 2008 18:56:55 +0000 (18:56 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 17 Apr 2008 18:56:55 +0000 (18:56 -0000)
src/openac/openac.c

index 61c3b05..d0d20b1 100755 (executable)
@@ -542,9 +542,9 @@ 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, "attribute cert", 0022, TRUE))
+               if (chunk_write(attr_chunk, outfile, 0022, TRUE))
                {
-                       DBG1("  wrote attribute cert file '%s' (%u bytes)", outfile, chunk.len);
+                       DBG1("  wrote attribute cert file '%s' (%u bytes)", outfile, attr_chunk.len);
                        write_serial(serial);
                        status = 0;
                }