commit | 81962c36e3afd8eb7b77e61ab149f8f519ba0437 | [log] [tgz] |
---|---|---|
author | Jonathan Leroy <jonathan@inikup.com> | Sat Oct 10 21:42:29 2015 +0200 |
committer | Jonathan Leroy <jonathan@inikup.com> | Sat Oct 10 21:42:29 2015 +0200 |
tree | 5f1fe5c7f6d407ee687051f4fa09a004e5b530e0 | |
parent | d97f899f99e15fa058ade6d6d8ecf2bbcce74aee [diff] [blame] |
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.
diff --git a/programs/x509/cert_req.c b/programs/x509/cert_req.c index 43d6180..5cafb80 100644 --- a/programs/x509/cert_req.c +++ b/programs/x509/cert_req.c
@@ -75,7 +75,7 @@ " key_encipherment\n" \ " data_encipherment\n" \ " key_agreement\n" \ - " key_certificate_sign\n" \ + " key_cert_sign\n" \ " crl_sign\n" \ " ns_cert_type=%%s default: (empty)\n" \ " Comma-separated-list of values:\n" \