removed uber zap from vendor and switched to dep from glide (#6)
This commit is contained in:
3
vendor/golang.org/x/crypto/openpgp/keys.go
generated
vendored
3
vendor/golang.org/x/crypto/openpgp/keys.go
generated
vendored
@@ -325,9 +325,8 @@ func ReadEntity(packets *packet.Reader) (*Entity, error) {
|
||||
if e.PrivateKey, ok = p.(*packet.PrivateKey); !ok {
|
||||
packets.Unread(p)
|
||||
return nil, errors.StructuralError("first packet was not a public/private key")
|
||||
} else {
|
||||
e.PrimaryKey = &e.PrivateKey.PublicKey
|
||||
}
|
||||
e.PrimaryKey = &e.PrivateKey.PublicKey
|
||||
}
|
||||
|
||||
if !e.PrimaryKey.PubKeyAlgo.CanSign() {
|
||||
|
||||
Reference in New Issue
Block a user