diff options
Diffstat (limited to 'src/pkg/crypto/openpgp/packet/packet.go')
-rw-r--r-- | src/pkg/crypto/openpgp/packet/packet.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/crypto/openpgp/packet/packet.go b/src/pkg/crypto/openpgp/packet/packet.go index 80e25e250..269603ba4 100644 --- a/src/pkg/crypto/openpgp/packet/packet.go +++ b/src/pkg/crypto/openpgp/packet/packet.go @@ -261,13 +261,13 @@ func Read(r io.Reader) (p Packet, err os.Error) { case packetTypePrivateKey, packetTypePrivateSubkey: pk := new(PrivateKey) if tag == packetTypePrivateSubkey { - pk.IsSubKey = true + pk.IsSubkey = true } p = pk case packetTypePublicKey, packetTypePublicSubkey: pk := new(PublicKey) if tag == packetTypePublicSubkey { - pk.IsSubKey = true + pk.IsSubkey = true } p = pk case packetTypeCompressed: @@ -300,7 +300,7 @@ type SignatureType uint8 const ( SigTypeBinary SignatureType = 0 - SigTypeText SignatureType = 1 + SigTypeText = 1 SigTypeGenericCert = 0x10 SigTypePersonaCert = 0x11 SigTypeCasualCert = 0x12 |