Skip to content

Commit

Permalink
openpgp: declaration cleanups (lint)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgryski committed Mar 31, 2015
1 parent 49d1e05 commit 7119d31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openpgp/openpgp.go
Expand Up @@ -42,8 +42,8 @@ var (

// Paths to the public and secret keyrings.
var (
PubRingPath string = DefaultPublicKeyRing
SecRingPath string = DefaultSecretKeyRing
PubRingPath = DefaultPublicKeyRing
SecRingPath = DefaultSecretKeyRing
)

// SaneDefaultConfig is a more secure default config than the defaults.
Expand All @@ -56,7 +56,7 @@ func ParanoidDefaultConfig() *packet.Config {
}
}

var DefaultConfig *packet.Config = nil
var DefaultConfig *packet.Config

// A KeyRing contains a list of entities and the state required to
// maintain the key ring.
Expand Down Expand Up @@ -215,7 +215,7 @@ func (keyRing *KeyRing) Unlock(keyID string) (err error) {
}

var id string
for k, _ := range e.Identities {
for k := range e.Identities {
id = k
break
}
Expand Down

0 comments on commit 7119d31

Please sign in to comment.