1
0
Fork 0
mirror of https://github.com/Luzifer/go-dhparam.git synced 2024-12-20 19:11:20 +00:00

Test: Adopt expected output to new OpenSSL version

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-02-10 16:50:23 +01:00
parent 7ca3a8cf19
commit d806505a49
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -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)