mirror of
https://github.com/cloudflare/redoctober.git
synced 2026-01-05 13:07:10 +00:00
Fixing rebase of andrewbuss/decrypt_sign
Also switched testdata/ssh_key with an ssh-ed25519 key
This commit is contained in:
committed by
Kyle Isom
parent
9a49b3a39e
commit
e6481c0513
@@ -169,7 +169,7 @@ func TestEncryptDecrypt(t *testing.T) {
|
||||
RightNames: right,
|
||||
}
|
||||
|
||||
resp, err := c.Encrypt([]byte("Hello World!"), []string{}, ac)
|
||||
resp, err := c.Encrypt([]byte("Hello World!"), []string{}, []string{}, ac)
|
||||
if err != nil {
|
||||
t.Fatalf("Error: %s", err)
|
||||
}
|
||||
@@ -183,7 +183,7 @@ func TestEncryptDecrypt(t *testing.T) {
|
||||
}
|
||||
|
||||
// (resp []byte, labels, names []string, secure bool, err error)
|
||||
_, _, _, _, err = c.Decrypt(resp, "alice")
|
||||
_, _, _, _, _, err = c.Decrypt(resp, "alice")
|
||||
if err != nil {
|
||||
t.Fatalf("%v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user