Fix pki tests (#4318)

This commit is contained in:
Calvin Leung Huang
2018-04-09 15:19:05 -04:00
committed by Jeff Mitchell
parent 4105c9189e
commit 64a58aa1f7

View File

@@ -1487,9 +1487,10 @@ func generateCATestingSteps(t *testing.T, caCert, caKey, otherCaCert string, int
// Generates steps to test out various role permutations
func generateRoleSteps(t *testing.T, useCSRs bool) []logicaltest.TestStep {
roleVals := roleEntry{
MaxTTL: "12h",
KeyType: "rsa",
KeyBits: 2048,
MaxTTL: "12h",
KeyType: "rsa",
KeyBits: 2048,
RequireCN: true,
}
issueVals := certutil.IssueData{}
ret := []logicaltest.TestStep{}