Skip to content

Commit 2b2dbe9

Browse files
mdoschlubux
authored andcommitted
1 parent cfbd6f6 commit 2b2dbe9

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

openpgp/clearsign/clearsign_test.go

+1-13
Original file line numberDiff line numberDiff line change
@@ -171,24 +171,12 @@ func TestSigningInterop(t *testing.T) {
171171
}
172172
}
173173

174-
// We use this to make test keys, so that they aren't all the same.
175-
type quickRand byte
176-
177-
func (qr *quickRand) Read(p []byte) (int, error) {
178-
for i := range p {
179-
p[i] = byte(*qr)
180-
}
181-
*qr++
182-
return len(p), nil
183-
}
184-
185174
func testMultiSign(t *testing.T, v6 bool) {
186175
if testing.Short() {
187176
t.Skip("skipping long test in -short mode")
188177
}
189178

190-
zero := quickRand(0)
191-
config := packet.Config{Rand: &zero, V6Keys: v6}
179+
config := packet.Config{V6Keys: v6}
192180

193181
for nKeys := 1; nKeys < 4; nKeys++ {
194182
nextTest:

0 commit comments

Comments
 (0)