File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 10
10
HEADERS=$( ls include/mbedtls/* .h include/psa/* .h | egrep -v ' compat-1\.3\.h' )
11
11
HEADERS=" $HEADERS 3rdparty/everest/include/everest/everest.h 3rdparty/everest/include/everest/x25519.h"
12
12
13
- # White-list macros we want to be able to refer to that don't exist in the
14
- # crypto library, useful when referring to macros in Mbed TLS from comments.
15
- WHITELIST=' MBEDTLS_ERR_SSL_CRYPTO_IN_PROGRESS'
16
-
17
- # Generate a list of macros and combine it with the white-listed macros in
18
- # sorted order.
19
- { sed -n -e ' s/.*#define \([a-zA-Z0-9_]*\).*/\1/p' $HEADERS |
20
- egrep -v ' ^(asm|inline|EMIT|_CRT_SECURE_NO_DEPRECATE)$|^MULADDC_' ;
21
- printf ' %s\n' $WHITELIST ;
22
- } | sort -u > macros
13
+ sed -n -e ' s/.*#define \([a-zA-Z0-9_]*\).*/\1/p' $HEADERS \
14
+ | egrep -v ' ^(asm|inline|EMIT|_CRT_SECURE_NO_DEPRECATE)$|^MULADDC_' \
15
+ | sort -u > macros
23
16
24
17
wc -l macros
You can’t perform that action at this time.
0 commit comments