commit | 1f8c20ac9ac18b98cdb3a3f685dee4afdbcb1a48 | [log] [tgz] |
---|---|---|
author | Jonathan Leroy <jonathan@inikup.com> | Sat Oct 10 21:42:29 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg2@elzevir.fr> | Fri Oct 30 16:56:44 2015 +0100 |
tree | 7ffbf74109f612cb01c5192e7651739315340755 | |
parent | d13585f1b36f120f4aab4b9bd14efa9882b550e4 [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" \