mirror of
https://github.com/golang/go
synced 2024-11-21 22:14:41 -07:00
crypto/openpgp: build fix (unreviewed)
R=agl CC=golang-dev https://golang.org/cl/4572057
This commit is contained in:
parent
f0d21a773f
commit
531c01d990
@ -81,7 +81,7 @@ const mdcPlaintextHex = "a302789c3b2d93c4e0eb9aba22283539b3203335af44a134afb800c
|
|||||||
func TestSerialize(t *testing.T) {
|
func TestSerialize(t *testing.T) {
|
||||||
buf := bytes.NewBuffer(nil)
|
buf := bytes.NewBuffer(nil)
|
||||||
c := CipherAES128
|
c := CipherAES128
|
||||||
key := make([]byte, c.keySize())
|
key := make([]byte, c.KeySize())
|
||||||
|
|
||||||
w, err := SerializeSymmetricallyEncrypted(buf, c, key)
|
w, err := SerializeSymmetricallyEncrypted(buf, c, key)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user