mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Fix bug in distribute_arguments for multi-argument macros
This commit is contained in:
committed by
Darryl Green
parent
cf9c18e696
commit
f96ed6615c
@@ -105,7 +105,7 @@ where each argument takes each possible value at least once.'''
|
|||||||
for value in argument_lists[i][1:]:
|
for value in argument_lists[i][1:]:
|
||||||
arguments[i] = value
|
arguments[i] = value
|
||||||
yield self.format_arguments(name, arguments)
|
yield self.format_arguments(name, arguments)
|
||||||
arguments[i] = argument_lists[0]
|
arguments[i] = argument_lists[0][0]
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
raise Exception('distribute_arguments({})'.format(name)) from e
|
raise Exception('distribute_arguments({})'.format(name)) from e
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user