Commit 7b166cd7 authored by Adam Langley's avatar Adam Langley

crypto/openpgp/packet: comment typo fix.

R=rsc
CC=golang-dev
https://golang.org/cl/4178065
parent 8a8ecda5
...@@ -20,8 +20,8 @@ type EncryptedKey struct { ...@@ -20,8 +20,8 @@ type EncryptedKey struct {
KeyId uint64 KeyId uint64
Algo PublicKeyAlgorithm Algo PublicKeyAlgorithm
Encrypted []byte Encrypted []byte
CipherFunc CipherFunction // only valid after a sucessful Decrypt CipherFunc CipherFunction // only valid after a successful Decrypt
Key []byte // only valid after a sucessful Decrypt Key []byte // only valid after a successful Decrypt
} }
func (e *EncryptedKey) parse(r io.Reader) (err os.Error) { func (e *EncryptedKey) parse(r io.Reader) (err os.Error) {
......
...@@ -14,11 +14,11 @@ import ( ...@@ -14,11 +14,11 @@ import (
type LiteralData struct { type LiteralData struct {
IsBinary bool IsBinary bool
FileName string FileName string
Time uint32 // Unix epoc time. Either creation time or modification time. 0 means undefined. Time uint32 // Unix epoch time. Either creation time or modification time. 0 means undefined.
Body io.Reader Body io.Reader
} }
// ForEyesOnly return whether the contents of the LiteralData have been marked // ForEyesOnly returns whether the contents of the LiteralData have been marked
// as especially sensitive. // as especially sensitive.
func (l *LiteralData) ForEyesOnly() bool { func (l *LiteralData) ForEyesOnly() bool {
return l.FileName == "_CONSOLE" return l.FileName == "_CONSOLE"
......
...@@ -300,7 +300,7 @@ type SignatureType uint8 ...@@ -300,7 +300,7 @@ type SignatureType uint8
const ( const (
SigTypeBinary SignatureType = 0 SigTypeBinary SignatureType = 0
SigTypeText SignatureType = 1 SigTypeText = 1
SigTypeGenericCert = 0x10 SigTypeGenericCert = 0x10
SigTypePersonaCert = 0x11 SigTypePersonaCert = 0x11
SigTypeCasualCert = 0x12 SigTypeCasualCert = 0x12
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment