mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-27 15:43:42 +08:00
Update verbose control
This commit is contained in:
@@ -351,7 +351,7 @@ int tlcp_client_main(int argc, char *argv[])
|
||||
if (--argc < 1) goto bad;
|
||||
certoutfile = *(++argv);
|
||||
} else if (!strcmp(*argv, "-verbose")) {
|
||||
verbose = 5;
|
||||
verbose = TLS_verbose;
|
||||
} else {
|
||||
fprintf(stderr, "%s: invalid option '%s'\n", prog, *argv);
|
||||
return 1;
|
||||
|
||||
@@ -234,7 +234,7 @@ int tlcp_server_main(int argc , char **argv)
|
||||
if (--argc < 1) goto bad;
|
||||
cacertfile = *(++argv);
|
||||
} else if (!strcmp(*argv, "-verbose")) {
|
||||
verbose = 5;
|
||||
verbose = TLS_verbose;
|
||||
} else {
|
||||
fprintf(stderr, "%s: invalid option '%s'\n", prog, *argv);
|
||||
return 1;
|
||||
|
||||
@@ -334,7 +334,7 @@ int tls12_client_main(int argc, char *argv[])
|
||||
if (--argc < 1) goto bad;
|
||||
infile = *(++argv);
|
||||
} else if (!strcmp(*argv, "-verbose")) {
|
||||
verbose = 5;
|
||||
verbose = TLS_verbose;
|
||||
} else {
|
||||
fprintf(stderr, "%s: invalid option '%s'\n", prog, *argv);
|
||||
return 1;
|
||||
|
||||
@@ -260,7 +260,7 @@ int tls12_server_main(int argc , char **argv)
|
||||
} else if (!strcmp(*argv, "-renegotiation_info")) {
|
||||
renegotiation_info = 1;
|
||||
} else if (!strcmp(*argv, "-verbose")) {
|
||||
verbose = 5;
|
||||
verbose = TLS_verbose;
|
||||
} else {
|
||||
fprintf(stderr, "%s: invalid option '%s'\n", prog, *argv);
|
||||
return 1;
|
||||
|
||||
@@ -486,7 +486,7 @@ int tls13_client_main(int argc, char *argv[])
|
||||
if (--argc < 1) goto bad;
|
||||
infile = *(++argv);
|
||||
} else if (!strcmp(*argv, "-verbose")) {
|
||||
verbose = 5;
|
||||
verbose = TLS_verbose;
|
||||
} else {
|
||||
fprintf(stderr, "%s: invalid option '%s'\n", prog, *argv);
|
||||
return 1;
|
||||
|
||||
@@ -329,7 +329,7 @@ int tls13_server_main(int argc , char **argv)
|
||||
} else if (!strcmp(*argv, "-tls13_change_cipher_spec")) {
|
||||
tls13_change_cipher_spec = 1;
|
||||
} else if (!strcmp(*argv, "-verbose")) {
|
||||
verbose = 5;
|
||||
verbose = TLS_verbose;
|
||||
} else {
|
||||
fprintf(stderr, "%s: invalid option '%s'\n", prog, *argv);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user