From 81962c36e3afd8eb7b77e61ab149f8f519ba0437 Mon Sep 17 00:00:00 2001 From: Jonathan Leroy Date: Sat, 10 Oct 2015 21:42:29 +0200 Subject: [PATCH] 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. --- programs/x509/cert_req.c | 2 +- programs/x509/cert_write.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/x509/cert_req.c b/programs/x509/cert_req.c index 43d6180e0..5cafb80cd 100644 --- a/programs/x509/cert_req.c +++ b/programs/x509/cert_req.c @@ -75,7 +75,7 @@ int main( void ) " 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" \ diff --git a/programs/x509/cert_write.c b/programs/x509/cert_write.c index 965244c43..b0439a1e3 100644 --- a/programs/x509/cert_write.c +++ b/programs/x509/cert_write.c @@ -115,7 +115,7 @@ int main( void ) " 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" \