From f8c4c268f745985322126cf99a51ac227a432dc8 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 10 Jan 2009 13:58:15 +0000 Subject: Test creation of session keys. --- src/p11-tests.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/p11-tests.c') diff --git a/src/p11-tests.c b/src/p11-tests.c index b3e72d1..900338e 100644 --- a/src/p11-tests.c +++ b/src/p11-tests.c @@ -10,6 +10,7 @@ #include int p11t_test_unexpected = 1; +int p11t_test_write_session = 0; static void usage() @@ -24,13 +25,16 @@ main(int argc, char* argv[]) const char *config = NULL; int ch; - while((ch = getopt(argc, argv, "f:vz")) != -1) + while((ch = getopt(argc, argv, "f:svz")) != -1) { switch(ch) { case 'f': config = optarg; break; + case 's': + p11t_test_write_session = 1; + break; case 'v': p11t_check_verbose = 1; break; -- cgit v1.2.3