From 899d0874b856a344d8b268fd7841dad390f7c20b Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Mon, 7 Sep 2015 10:43:19 +0200 Subject: [PATCH] makecert: Remove key usage attribute The original makecert tool won't add this tribute to a generated certificate. Adding this attribute might cause problems when using the certificate with other apps (i.e. Qt SSL). --- winpr/tools/makecert/makecert.c | 1 - 1 file changed, 1 deletion(-) diff --git a/winpr/tools/makecert/makecert.c b/winpr/tools/makecert/makecert.c index f67c65ed1..1f936b67c 100644 --- a/winpr/tools/makecert/makecert.c +++ b/winpr/tools/makecert/makecert.c @@ -989,7 +989,6 @@ int makecert_context_process(MAKECERT_CONTEXT* context, int argc, char** argv) X509_set_issuer_name(context->x509, name); x509_add_ext(context->x509, NID_ext_key_usage, "serverAuth"); - x509_add_ext(context->x509, NID_key_usage, "keyEncipherment,dataEncipherment"); arg = CommandLineFindArgumentA(args, "a");