diff options
author | Stef Walter <stef@memberwebs.com> | 2009-01-10 13:58:15 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2009-01-10 13:58:15 +0000 |
commit | f8c4c268f745985322126cf99a51ac227a432dc8 (patch) | |
tree | 778a4afd3a55f3964e7d3ffff99dcfe0af54321c /src/p11-tests.c | |
parent | 1220a0745cb8674e5ce0506a1ad298fe08b0f745 (diff) |
Test creation of session keys.
Diffstat (limited to 'src/p11-tests.c')
-rw-r--r-- | src/p11-tests.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <openssl/evp.h> 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; |