Added flag to prohibit renegotiations.
This commit is contained in:
parent
3b044d4296
commit
d16eee962a
10 changed files with 626 additions and 583 deletions
|
|
@ -82,8 +82,11 @@ run_command(br_ssl_engine_context *cc, unsigned char *buf, size_t len)
|
|||
br_ssl_engine_close(cc);
|
||||
return 1;
|
||||
case 'R':
|
||||
fprintf(stderr, "renegotiating...\n");
|
||||
br_ssl_engine_renegotiate(cc);
|
||||
if (br_ssl_engine_renegotiate(cc)) {
|
||||
fprintf(stderr, "renegotiating...\n");
|
||||
} else {
|
||||
fprintf(stderr, "not renegotiating.\n");
|
||||
}
|
||||
return 1;
|
||||
case 'F':
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue