From 58e1e3764250fbda96c5ef7244e891a6be04d4cb Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 15 Mar 2013 08:18:42 +0100 Subject: extract: Allow p11_save_write() to automatically calculate length Also if automatically calculating length, then ignore input that is NULL, as something that shouldn't be written out. This allows easier chaining of optional output, such as comments. https://bugs.freedesktop.org/show_bug.cgi?id=62029 --- tools/tests/files/empty-file | 0 tools/tests/files/simple-string | 1 + 2 files changed, 1 insertion(+) create mode 100644 tools/tests/files/empty-file create mode 100644 tools/tests/files/simple-string (limited to 'tools/tests/files') diff --git a/tools/tests/files/empty-file b/tools/tests/files/empty-file new file mode 100644 index 0000000..e69de29 diff --git a/tools/tests/files/simple-string b/tools/tests/files/simple-string new file mode 100644 index 0000000..be13474 --- /dev/null +++ b/tools/tests/files/simple-string @@ -0,0 +1 @@ +The simple string is hairy \ No newline at end of file -- cgit v1.1