mirror of
https://github.com/Luzifer/go-dhparam.git
synced 2024-12-21 03:21:20 +00:00
Test: Adopt expected output to new OpenSSL version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7ca3a8cf19
commit
d806505a49
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ func execGeneratorIntegration(t *testing.T, bitsize int, generator Generator) {
|
||||||
for _, expect := range []string{
|
for _, expect := range []string{
|
||||||
fmt.Sprintf("DH Parameters: (%d bit)", bitsize),
|
fmt.Sprintf("DH Parameters: (%d bit)", bitsize),
|
||||||
"DH parameters appear to be ok.",
|
"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) {
|
if !strings.Contains(result, expect) {
|
||||||
t.Errorf("Did not find expected OpenSSL output: %q", expect)
|
t.Errorf("Did not find expected OpenSSL output: %q", expect)
|
||||||
|
|
Loading…
Reference in a new issue