From d806505a4981d470e7ad30f5d26246f6ad0c0136 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 10 Feb 2023 16:50:23 +0100 Subject: [PATCH] Test: Adopt expected output to new OpenSSL version Signed-off-by: Knut Ahlers --- generator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator_test.go b/generator_test.go index 11c4399..15050ee 100644 --- a/generator_test.go +++ b/generator_test.go @@ -62,7 +62,7 @@ func execGeneratorIntegration(t *testing.T, bitsize int, generator Generator) { for _, expect := range []string{ fmt.Sprintf("DH Parameters: (%d bit)", bitsize), "DH parameters appear to be ok.", - fmt.Sprintf("generator: %d (0x%x)", generator, generator), + fmt.Sprintf("G: %d (0x%x)", generator, generator), } { if !strings.Contains(result, expect) { t.Errorf("Did not find expected OpenSSL output: %q", expect)