Update TLS 1.2 renegotiation_info

This commit is contained in:
Zhi Guan
2026-06-20 16:47:56 +08:00
parent c47ae26730
commit 0f2f35ab97
9 changed files with 40 additions and 5 deletions

View File

@@ -350,6 +350,10 @@ bad:
fprintf(stderr, "%s: '-host' option required\n", prog);
return -1;
}
if (renegotiation_info && empty_renegotiation_info_scsv) {
fprintf(stderr, "%s: '-renegotiation_info' and '-renegotiation_info_scsv' should not be used together\n", prog);
return -1;
}
if (get && infile) {
fprintf(stderr, "%s: '-get' and '-in' should not be used together\n", prog);
return -1;