File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ diff macros identifiers | sed -n -e 's/< //p' > actual-macros
40
40
for THING in actual-macros enum-consts; do
41
41
printf " Names of $THING : "
42
42
test -r $THING
43
- BAD=$( grep -v ' ^MBEDTLS_ [0-9A-Z_]*[0-9A-Z]$' $THING || true )
43
+ BAD=$( grep -E - v ' ^(MBEDTLS|PSA)_ [0-9A-Z_]*[0-9A-Z]$' $THING || true )
44
44
if [ " x$BAD " = " x" ]; then
45
45
echo " PASS"
46
46
else
65
65
66
66
printf " Likely typos: "
67
67
sort -u actual-macros enum-consts > _caps
68
- HEADERS=$( ls include/mbedtls/* .h | egrep -v ' compat-1\.3\.h' )
68
+ HEADERS=$( ls include/mbedtls/* .h include/psa/ * .h | egrep -v ' compat-1\.3\.h' )
69
69
NL='
70
70
'
71
71
sed -n ' s/MBED..._[A-Z0-9_]*/\' " $NL " ' &\' " $NL " /gp \
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if [ -d include/mbedtls ]; then :; else
7
7
exit 1
8
8
fi
9
9
10
- HEADERS=$( ls include/mbedtls/* .h | egrep -v ' compat-1\.3\.h' )
10
+ HEADERS=$( ls include/mbedtls/* .h include/psa/ * .h | egrep -v ' compat-1\.3\.h' )
11
11
12
12
sed -n -e ' s/.*#define \([a-zA-Z0-9_]*\).*/\1/p' $HEADERS \
13
13
| egrep -v ' ^(asm|inline|EMIT|_CRT_SECURE_NO_DEPRECATE)$|^MULADDC_' \
You can’t perform that action at this time.
0 commit comments