Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Collison <derek@nats.io>
  • Loading branch information
derekcollison committed Dec 15, 2022
1 parent e5406dd commit f38d8b9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -7,7 +7,7 @@ require (
github.com/minio/highwayhash v1.0.2
github.com/nats-io/jwt/v2 v2.3.1-0.20221214233435-ff7baa9e5e73
github.com/nats-io/nats.go v1.19.0
github.com/nats-io/nkeys v0.3.1-0.20221214192951-608645174b64
github.com/nats-io/nkeys v0.3.1-0.20221215194120-47c7408e7546
github.com/nats-io/nuid v1.0.1
go.uber.org/automaxprocs v1.5.1
golang.org/x/crypto v0.3.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Expand Up @@ -20,6 +20,8 @@ github.com/nats-io/nats.go v1.19.0/go.mod h1:tLqubohF7t4z3du1QDPYJIQQyhb4wl6Dhjx
github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4=
github.com/nats-io/nkeys v0.3.1-0.20221214192951-608645174b64 h1:/XjJVccsJ38Rzy2CyPfBAMHIFOc0ET7IJqBYKdFQ7z4=
github.com/nats-io/nkeys v0.3.1-0.20221214192951-608645174b64/go.mod h1:JOEZlxMfMnmaLwr+mpmP+RGIYSxLNBFsZykCGaI2PvA=
github.com/nats-io/nkeys v0.3.1-0.20221215194120-47c7408e7546 h1:7ZylVLLiDSFqxJTSibNsO2RjVSXj3QWnDc+zKara2HE=
github.com/nats-io/nkeys v0.3.1-0.20221215194120-47c7408e7546/go.mod h1:JOEZlxMfMnmaLwr+mpmP+RGIYSxLNBFsZykCGaI2PvA=
github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=
github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
Expand Down
2 changes: 1 addition & 1 deletion server/auth_callout.go
Expand Up @@ -47,7 +47,7 @@ func (s *Server) processClientOrLeafCallout(c *client, opts *Options) (authorize
}

// Check if we have been requested to encrypt.
var xkp nkeys.CurveKeyPair
var xkp nkeys.KeyPair
var xkey string
var pubAccXKey string
if !isOperatorMode && opts.AuthCallout != nil && opts.AuthCallout.XKey != _EMPTY_ {
Expand Down
2 changes: 1 addition & 1 deletion server/server.go
Expand Up @@ -116,7 +116,7 @@ type Server struct {
stats
mu sync.RWMutex
kp nkeys.KeyPair
xkp nkeys.CurveKeyPair
xkp nkeys.KeyPair
xpub string
info Info
configFile string
Expand Down

0 comments on commit f38d8b9

Please sign in to comment.