1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-07 06:42:56 +03:00

Merge pull request #5773 from daverodgman/fix_debug_helper

Fix Doxygen syntax error in generated code
This commit is contained in:
Gilles Peskine
2022-04-28 18:16:12 +02:00
committed by GitHub

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""Generate library/ssl_debug_helps_generated.c """Generate library/ssl_debug_helpers_generated.c
The code generated by this module includes debug helper functions that can not be The code generated by this module includes debug helper functions that can not be
implemented by fixed codes. implemented by fixed codes.
@@ -224,7 +224,7 @@ class EnumDefinition:
if( in > ( sizeof( in_to_str )/sizeof( in_to_str[0]) - 1 ) || if( in > ( sizeof( in_to_str )/sizeof( in_to_str[0]) - 1 ) ||
in_to_str[ in ] == NULL ) in_to_str[ in ] == NULL )
{{ {{
return "UNKOWN_VAULE"; return "UNKNOWN_VALUE";
}} }}
return in_to_str[ in ]; return in_to_str[ in ];
}} }}
@@ -296,9 +296,9 @@ OUTPUT_C_TEMPLATE = '''\
/* Automatically generated by generate_ssl_debug_helpers.py. DO NOT EDIT. */ /* Automatically generated by generate_ssl_debug_helpers.py. DO NOT EDIT. */
/** /**
* \file ssl_debug_helpers_generated.c * \\file ssl_debug_helpers_generated.c
* *
* \brief Automatically generated helper functions for debugging * \\brief Automatically generated helper functions for debugging
*/ */
/* /*
* Copyright The Mbed TLS Contributors * Copyright The Mbed TLS Contributors