mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-24 20:08:43 +00:00
To find any files with a missing copyright declaration, use the following script:
# ========================
#!/bin/sh
# Find files with copyright declarations, and list their file extensions
exts=$(grep -Ril --exclude-dir .git 'Copyright.*Arm' | sed '
s/.*\./-name "*./
s/$/"/
' | sort -u | sed -n '
:l
N
$!bl
s/\n/ -o /gp
')
# Find files with file extensions that ususally include copyright extensions, but don't include a copyright declaration themselves.
eval "find -path './.git' -prune -o ! -path './tests/data_files/format_pkcs12.fmt' '(' $exts ')' -print" | xargs grep -Li 'Copyright.*Arm'
# ========================
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
These certificates form a very long chain, used to test the MBEDTLS_X509_MAX_INT_CA limit. NN.key is the private key of certificate NN.crt. The root is 00.crt and N+1.crt is a child of N.crt. File cNN.pem contains the chain NN.crt to 00.crt. Those certificates were generated by tests/data_files/dir-maxpath/long.sh.