Merge remote-tracking branch 'origin/pr/2092' into development
* origin/pr/2092: Add more missing parentheses around macro parameters Add further missing brackets around macro parameters Adapt ChangeLog Improve macro hygiene
This commit is contained in:
commit
3956a847e6
24 changed files with 329 additions and 252 deletions
|
@ -33,11 +33,12 @@
|
|||
#include "asn1.h"
|
||||
|
||||
#define MBEDTLS_ASN1_CHK_ADD(g, f) \
|
||||
do { \
|
||||
if( ( ret = f ) < 0 ) \
|
||||
do \
|
||||
{ \
|
||||
if( ( ret = (f) ) < 0 ) \
|
||||
return( ret ); \
|
||||
else \
|
||||
g += ret; \
|
||||
(g) += ret; \
|
||||
} while( 0 )
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue