From 531c01d9902b39c6666fc8cd7747b4ac557615c7 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Fri, 10 Jun 2011 13:32:20 -0400 Subject: [PATCH] crypto/openpgp: build fix (unreviewed) R=agl CC=golang-dev https://golang.org/cl/4572057 --- src/pkg/crypto/openpgp/packet/symmetrically_encrypted_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/crypto/openpgp/packet/symmetrically_encrypted_test.go b/src/pkg/crypto/openpgp/packet/symmetrically_encrypted_test.go index ba5606e6ce3..1054fc2f91a 100644 --- a/src/pkg/crypto/openpgp/packet/symmetrically_encrypted_test.go +++ b/src/pkg/crypto/openpgp/packet/symmetrically_encrypted_test.go @@ -81,7 +81,7 @@ const mdcPlaintextHex = "a302789c3b2d93c4e0eb9aba22283539b3203335af44a134afb800c func TestSerialize(t *testing.T) { buf := bytes.NewBuffer(nil) c := CipherAES128 - key := make([]byte, c.keySize()) + key := make([]byte, c.KeySize()) w, err := SerializeSymmetricallyEncrypted(buf, c, key) if err != nil {