mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 03:35:35 +00:00
Change comments and styles base on review
Change-Id: Idde76114aba0a47b61355677dd33ea9de7deee9d Signed-off-by: XiaokangQian <xiaokang.qian@arm.com>
This commit is contained in:
parent
af56fd3b9d
commit
20438976f9
@ -717,7 +717,7 @@ struct mbedtls_ssl_handshake_params
|
||||
#endif /* MBEDTLS_SSL_PROTO_DTLS */
|
||||
#if defined(MBEDTLS_SSL_CLI_C) && defined(MBEDTLS_SSL_PROTO_TLS1_3)
|
||||
uint16_t hrr_cookie_len; /*!< HelloRetryRequest cookie length */
|
||||
#endif /* MBEDTLS_SSL_CLI_C || MBEDTLS_SSL_PROTO_TLS1_3 */
|
||||
#endif /* MBEDTLS_SSL_CLI_C && MBEDTLS_SSL_PROTO_TLS1_3 */
|
||||
|
||||
#if defined(MBEDTLS_SSL_PROTO_DTLS)
|
||||
unsigned int out_msg_seq; /*!< Outgoing handshake sequence number */
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -435,7 +435,7 @@ SSL_OUTPUT_HEADER = '''#!/bin/sh
|
||||
# Purpose
|
||||
#
|
||||
# List TLS1.3 compat test cases. They are generated by
|
||||
# `{cmd}`.
|
||||
# `generate_tls13_compat_tests.py {parameter} -o {filename}`.
|
||||
#
|
||||
# PLEASE DO NOT EDIT THIS FILE. IF NEEDED, PLEASE MODIFY `generate_tls13_compat_tests.py`
|
||||
# AND REGENERATE THIS FILE.
|
||||
@ -518,7 +518,7 @@ def main():
|
||||
if args.output:
|
||||
with open(args.output, 'w', encoding="utf-8") as f:
|
||||
f.write(SSL_OUTPUT_HEADER.format(
|
||||
filename=os.path.basename(args.output), cmd=' '.join(sys.argv)))
|
||||
filename=os.path.basename(args.output), parameter='-a'))
|
||||
f.write('\n\n'.join(get_all_test_cases()))
|
||||
f.write('\n')
|
||||
else:
|
||||
@ -529,11 +529,11 @@ def main():
|
||||
if args.output:
|
||||
with open(args.output, 'w', encoding="utf-8") as f:
|
||||
f.write(SSL_OUTPUT_HEADER.format(
|
||||
filename=os.path.basename(args.output)))
|
||||
filename=os.path.basename(args.output), parameter='-r'))
|
||||
f.write('\n\n'.join(get_hrr_test_cases()))
|
||||
f.write('\n')
|
||||
else:
|
||||
print('\n'.join(get_hrr_test_cases()))
|
||||
print('\n\n'.join(get_hrr_test_cases()))
|
||||
return 0
|
||||
|
||||
if args.list_ciphers or args.list_sig_algs or args.list_named_groups \
|
||||
|
Loading…
x
Reference in New Issue
Block a user