diff options
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;  | 
