From 19e2940e11d1c1e2d7a18dc52fcc8ad0711556ed Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 16 Mar 2009 23:42:16 +0000 Subject: removed role symmetric (useless) added new label (direction specific) --- src/options.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index b743002..e4112e0 100644 --- a/src/options.c +++ b/src/options.c @@ -279,8 +279,6 @@ int options_parse(options_t* opt, int argc, char* argv[]) opt->role_ = ROLE_LEFT; else if(!strcmp(role, "bob") || !strcmp(role, "client") || !strcmp(role, "right")) opt->role_ = ROLE_RIGHT; - else if(!strcmp(role, "eve") || !strcmp(role, "weak") || !strcmp(role, "symmetric")) - opt->role_ = ROLE_SYMMETRIC; else { free(role); return -4; @@ -451,7 +449,7 @@ void options_print_usage() #endif printf(" [-K|--key] master key to use for encryption\n"); printf(" [-A|--salt] master salt to use for encryption\n"); - printf(" [-e|--role] alice, bob or eve"); + printf(" [-e|--role] left (alice) or right (bob)"); printf(" [-c|--cipher] payload encryption algorithm\n"); printf(" [-a|--auth-algo] message authentication algorithm\n"); printf(" [-b|--auth-tag-length] length of the auth tag\n"); @@ -500,7 +498,6 @@ void options_print(options_t* opt) switch(opt->role_) { case ROLE_LEFT: printf("left\n"); break; case ROLE_RIGHT: printf("right\n"); break; - case ROLE_SYMMETRIC: printf("symmetric\n"); break; default: printf("??\n"); break; } #endif -- cgit v1.2.3