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;

View File

@@ -33,7 +33,7 @@ static const char *help =
" -cacert pem CA certificate for client certificate verification\n"
" -verify_depth num Certificate verification depth\n"
" -client_cert_optional Allow client send empty Certificate\n"
" -renegotiation_info Accepted for compatibility; RFC 5746 response is automatic\n"
" -renegotiation_info Enable RFC 5746 renegotiation_info response\n"
" -verbose Print TLS handshake messages\n"
"\n"
#include "tls12_help.h"