Skip to content

Commit

Permalink
load_roots: arguments must be files
Browse files Browse the repository at this point in the history
I had originally thought to support directories with
mbedtls_x509_crt_parse_path but it would have complicated the code more than
I cared for. Remove a remnant of the original project in the documentation.

Signed-off-by: Gilles Peskine <[email protected]>
  • Loading branch information
gilles-peskine-arm committed Jul 30, 2021
1 parent bbf97cd commit 5bc763d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/x509/load_roots.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ int main( void )
#define DFL_PRIME_CACHE 1

#define USAGE \
"\n usage: load_roots param=<>... [--] {FILE|DIR}...\n" \
"\n usage: load_roots param=<>... [--] FILE...\n" \
"\n acceptable parameters:\n" \
" iterations=%%d Iteration count (not including cache priming); default: 1\n" \
" prime=%%d Prime the disk read cache? Default: 1 (yes)\n" \
Expand Down

0 comments on commit 5bc763d

Please sign in to comment.