We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfbd6f6 commit 2b2dbe9Copy full SHA for 2b2dbe9
openpgp/clearsign/clearsign_test.go
@@ -171,24 +171,12 @@ func TestSigningInterop(t *testing.T) {
171
}
172
173
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
185
func testMultiSign(t *testing.T, v6 bool) {
186
if testing.Short() {
187
t.Skip("skipping long test in -short mode")
188
189
190
- zero := quickRand(0)
191
- config := packet.Config{Rand: &zero, V6Keys: v6}
+ config := packet.Config{V6Keys: v6}
192
193
for nKeys := 1; nKeys < 4; nKeys++ {
194
nextTest:
0 commit comments