This commit is contained in:
wangyu 2020-07-15 01:57:51 -04:00
parent 4530606246
commit f7f6c6bbe6

View File

@ -577,7 +577,7 @@ void process_arg(int argc, char *argv[]) //process all options
}
for(i=0;i<cipher_end;i++)
{
if(strcmp(optarg,cipher_mode_tostring[i])==0)
if(strcmp(s.c_str(),cipher_mode_tostring[i])==0)
{
cipher_mode=(cipher_mode_t)i;
break;