From e0a84d78809f4b19247ec7538e76f73b1f4c499f Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sun, 20 Dec 2020 10:36:07 -0500 Subject: dep: update crypto. info: https://golangtutorial.dev/news/fix-in-crypto-package/ (#14067) Co-authored-by: zeripath --- vendor/golang.org/x/crypto/ssh/server.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vendor/golang.org/x/crypto/ssh/server.go') diff --git a/vendor/golang.org/x/crypto/ssh/server.go b/vendor/golang.org/x/crypto/ssh/server.go index 7d42a8c88d..b6911e8306 100644 --- a/vendor/golang.org/x/crypto/ssh/server.go +++ b/vendor/golang.org/x/crypto/ssh/server.go @@ -572,6 +572,10 @@ userAuthLoop: perms = candidate.perms } case "gssapi-with-mic": + if config.GSSAPIWithMICConfig == nil { + authErr = errors.New("ssh: gssapi-with-mic auth not configured") + break + } gssapiConfig := config.GSSAPIWithMICConfig userAuthRequestGSSAPI, err := parseGSSAPIPayload(userAuthReq.Payload) if err != nil { -- cgit v1.2.3