From f23ba3a5ee43012fcb4b92e1a2a405a92554f4f2 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 7 Jan 2016 07:52:56 -0800 Subject: [PATCH] x/crypto/pkcs12: fix typo in struct tag No test, though, because I don't know this code. Sad that it passes with the typo, though. Fixes golang/go#13855 Change-Id: I1170baa0f94ae4b671f5ca654cb7dcc393d1cc4d Reviewed-on: https://go-review.googlesource.com/18363 Reviewed-by: Adam Langley --- pkcs12/pkcs12.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkcs12/pkcs12.go b/pkcs12/pkcs12.go index e8e1799..ad6341e 100644 --- a/pkcs12/pkcs12.go +++ b/pkcs12/pkcs12.go @@ -65,7 +65,7 @@ type safeBag struct { type pkcs12Attribute struct { Id asn1.ObjectIdentifier - Value asn1.RawValue `ans1:"set"` + Value asn1.RawValue `asn1:"set"` } type encryptedPrivateKeyInfo struct {