Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
7b166cd7
Commit
7b166cd7
authored
Feb 19, 2011
by
Adam Langley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypto/openpgp/packet: comment typo fix.
R=rsc CC=golang-dev
https://golang.org/cl/4178065
parent
8a8ecda5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/pkg/crypto/openpgp/packet/encrypted_key.go
src/pkg/crypto/openpgp/packet/encrypted_key.go
+2
-2
src/pkg/crypto/openpgp/packet/literal.go
src/pkg/crypto/openpgp/packet/literal.go
+2
-2
src/pkg/crypto/openpgp/packet/packet.go
src/pkg/crypto/openpgp/packet/packet.go
+1
-1
No files found.
src/pkg/crypto/openpgp/packet/encrypted_key.go
View file @
7b166cd7
...
...
@@ -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 suc
c
essful Decrypt
Key
[]
byte
// only valid after a suc
c
essful Decrypt
}
func
(
e
*
EncryptedKey
)
parse
(
r
io
.
Reader
)
(
err
os
.
Error
)
{
...
...
src/pkg/crypto/openpgp/packet/literal.go
View file @
7b166cd7
...
...
@@ -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 epoc
h
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 return
s
whether the contents of the LiteralData have been marked
// as especially sensitive.
func
(
l
*
LiteralData
)
ForEyesOnly
()
bool
{
return
l
.
FileName
==
"_CONSOLE"
...
...
src/pkg/crypto/openpgp/packet/packet.go
View file @
7b166cd7
...
...
@@ -300,7 +300,7 @@ type SignatureType uint8
const
(
SigTypeBinary
SignatureType
=
0
SigTypeText
SignatureType
=
1
SigTypeText
=
1
SigTypeGenericCert
=
0x10
SigTypePersonaCert
=
0x11
SigTypeCasualCert
=
0x12
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment