mirror of
https://github.com/golang/go
synced 2024-11-20 08:54:40 -07:00
crypto/openpgp/packet: comment typo fix.
R=rsc CC=golang-dev https://golang.org/cl/4178065
This commit is contained in:
parent
8a8ecda54a
commit
7b166cd73c
@ -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) {
|
||||
|
@ -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"
|
||||
|
@ -300,7 +300,7 @@ type SignatureType uint8
|
||||
|
||||
const (
|
||||
SigTypeBinary SignatureType = 0
|
||||
SigTypeText SignatureType = 1
|
||||
SigTypeText = 1
|
||||
SigTypeGenericCert = 0x10
|
||||
SigTypePersonaCert = 0x11
|
||||
SigTypeCasualCert = 0x12
|
||||
|
Loading…
Reference in New Issue
Block a user