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:
Jonathan Leroy 2015-10-10 21:42:29 +02:00
parent d97f899f99
commit 81962c36e3
No known key found for this signature in database
GPG key ID: 39F48C649C886236
2 changed files with 2 additions and 2 deletions

View file

@ -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" \

View file

@ -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" \