crypto/openpgp/packet: comment typo fix.

R=rsc
CC=golang-dev
https://golang.org/cl/4178065
This commit is contained in:
Adam Langley 2011-02-19 10:41:57 -05:00
parent 8a8ecda54a
commit 7b166cd73c
3 changed files with 5 additions and 5 deletions

View File

@ -20,8 +20,8 @@ type EncryptedKey struct {
KeyId uint64
Algo PublicKeyAlgorithm
Encrypted []byte
CipherFunc CipherFunction // only valid after a sucessful Decrypt
Key []byte // only valid after a sucessful Decrypt
CipherFunc CipherFunction // only valid after a successful Decrypt
Key []byte // only valid after a successful Decrypt
}
func (e *EncryptedKey) parse(r io.Reader) (err os.Error) {

View File

@ -14,11 +14,11 @@ import (
type LiteralData struct {
IsBinary bool
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
}
// 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.
func (l *LiteralData) ForEyesOnly() bool {
return l.FileName == "_CONSOLE"

View File

@ -300,7 +300,7 @@ type SignatureType uint8
const (
SigTypeBinary SignatureType = 0
SigTypeText SignatureType = 1
SigTypeText = 1
SigTypeGenericCert = 0x10
SigTypePersonaCert = 0x11
SigTypeCasualCert = 0x12