From ac2f7efe8c16bb30f9926fcce00476bd21ef8694 Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Thu, 31 May 2018 21:19:42 -0500 Subject: [PATCH] Removed default val for eku oids & go fmt --- builtin/logical/pki/cert_util.go | 2 +- builtin/logical/pki/path_roles.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/builtin/logical/pki/cert_util.go b/builtin/logical/pki/cert_util.go index 788e10d0df06..f4e25235a32e 100644 --- a/builtin/logical/pki/cert_util.go +++ b/builtin/logical/pki/cert_util.go @@ -1268,7 +1268,7 @@ func signCertificate(data *dataBundle) (*certutil.ParsedCertBundle, error) { addKeyUsages(data, certTemplate) - addExtKeyUsageOids(data, certTemplate) + addExtKeyUsageOids(data, certTemplate) var certBytes []byte diff --git a/builtin/logical/pki/path_roles.go b/builtin/logical/pki/path_roles.go index 18c0b143a801..e9baf731847f 100644 --- a/builtin/logical/pki/path_roles.go +++ b/builtin/logical/pki/path_roles.go @@ -168,7 +168,6 @@ this value to an empty list.`, "ext_key_usage_oids": &framework.FieldSchema{ Type: framework.TypeCommaStringSlice, - Default: []string{}, Description: `A comma-separated string or list of extended key usage oids.`, },