summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/openpgp/packet/literal.go
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-04-20 15:44:41 +0200
committerOndřej Surý <ondrej@sury.org>2011-04-20 15:44:41 +0200
commit50104cc32a498f7517a51c8dc93106c51c7a54b4 (patch)
tree47af80be259cc7c45d0eaec7d42e61fa38c8e4fb /src/pkg/crypto/openpgp/packet/literal.go
parentc072558b90f1bbedc2022b0f30c8b1ac4712538e (diff)
downloadgolang-upstream/2011.03.07.1.tar.gz
Imported Upstream version 2011.03.07.1upstream/2011.03.07.1
Diffstat (limited to 'src/pkg/crypto/openpgp/packet/literal.go')
-rw-r--r--src/pkg/crypto/openpgp/packet/literal.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/crypto/openpgp/packet/literal.go b/src/pkg/crypto/openpgp/packet/literal.go
index 5f72d6a2c..04f50e53e 100644
--- a/src/pkg/crypto/openpgp/packet/literal.go
+++ b/src/pkg/crypto/openpgp/packet/literal.go
@@ -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"