Fix generation of ssl_debug_helpers
File was being generated with tabs rather than spaces which breaks release builds Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
6e80e09bd1
commit
fe9d43c21d
1 changed files with 2 additions and 2 deletions
|
@ -277,7 +277,7 @@ class SignatureAlgorithmDefinition:
|
|||
for m in self._definitions:
|
||||
name = m.groupdict()['name']
|
||||
translation_table.append(
|
||||
'\tcase {}:\n\t return "{}";'.format(name,
|
||||
' case {}:\n return "{}";'.format(name,
|
||||
name[len('MBEDTLS_TLS1_3_SIG_'):].lower())
|
||||
)
|
||||
|
||||
|
@ -337,7 +337,7 @@ class NamedGroupDefinition:
|
|||
for m in self._definitions:
|
||||
name = m.groupdict()['name']
|
||||
iana_name = name[len('MBEDTLS_SSL_IANA_TLS_GROUP_'):].lower()
|
||||
translation_table.append('\tcase {}:\n\t return "{}";'.format(name, iana_name))
|
||||
translation_table.append(' case {}:\n return "{}";'.format(name, iana_name))
|
||||
|
||||
body = textwrap.dedent('''\
|
||||
const char *mbedtls_ssl_named_group_to_str( uint16_t in )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue