Fix help message for cert_req/cert_write programs
In cert_req and cert_write programs, "key_certificate_sign" is not an allowed velue for "key_usage" parameter. The correct value is "key_cert_sign". See https://github.com/ARMmbed/mbedtls/blob/development/programs/x509/cert_req.c#L208 and https://github.com/ARMmbed/mbedtls/blob/development/programs/x509/cert_write.c#L323.
This commit is contained in:
parent
d97f899f99
commit
81962c36e3
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ int main( void )
|
||||||
" key_encipherment\n" \
|
" key_encipherment\n" \
|
||||||
" data_encipherment\n" \
|
" data_encipherment\n" \
|
||||||
" key_agreement\n" \
|
" key_agreement\n" \
|
||||||
" key_certificate_sign\n" \
|
" key_cert_sign\n" \
|
||||||
" crl_sign\n" \
|
" crl_sign\n" \
|
||||||
" ns_cert_type=%%s default: (empty)\n" \
|
" ns_cert_type=%%s default: (empty)\n" \
|
||||||
" Comma-separated-list of values:\n" \
|
" Comma-separated-list of values:\n" \
|
||||||
|
|
|
@ -115,7 +115,7 @@ int main( void )
|
||||||
" key_encipherment\n" \
|
" key_encipherment\n" \
|
||||||
" data_encipherment\n" \
|
" data_encipherment\n" \
|
||||||
" key_agreement\n" \
|
" key_agreement\n" \
|
||||||
" key_certificate_sign\n" \
|
" key_cert_sign\n" \
|
||||||
" crl_sign\n" \
|
" crl_sign\n" \
|
||||||
" ns_cert_type=%%s default: (empty)\n" \
|
" ns_cert_type=%%s default: (empty)\n" \
|
||||||
" Comma-separated-list of values:\n" \
|
" Comma-separated-list of values:\n" \
|
||||||
|
|
Loading…
Reference in a new issue