summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/crypto/ssh/server.go
diff options
context:
space:
mode:
authorDuco van Amstel <helcaraxan@gmail.com>2018-11-18 00:28:29 +0000
committerDuco van Amstel <helcaraxan@gmail.com>2018-11-18 01:10:15 +0000
commit692bb8faa7c4000953b0622a77126193f8fd0383 (patch)
treeb0966b9aa86eb8d02d423221bed21893959de4eb /vendor/golang.org/x/crypto/ssh/server.go
parent455a0fc2394ea52955ed386663ded9a9dceab83f (diff)
downloadmatterbridge-msglm-692bb8faa7c4000953b0622a77126193f8fd0383.tar.gz
matterbridge-msglm-692bb8faa7c4000953b0622a77126193f8fd0383.tar.bz2
matterbridge-msglm-692bb8faa7c4000953b0622a77126193f8fd0383.zip
Upgrade logrus / testify to stable versions
Diffstat (limited to 'vendor/golang.org/x/crypto/ssh/server.go')
-rw-r--r--vendor/golang.org/x/crypto/ssh/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/golang.org/x/crypto/ssh/server.go b/vendor/golang.org/x/crypto/ssh/server.go
index 122c03e7..e86e8966 100644
--- a/vendor/golang.org/x/crypto/ssh/server.go
+++ b/vendor/golang.org/x/crypto/ssh/server.go
@@ -484,6 +484,7 @@ userAuthLoop:
// sig.Format. This is usually the same, but
// for certs, the names differ.
if !isAcceptableAlgo(sig.Format) {
+ authErr = fmt.Errorf("ssh: algorithm %q not accepted", sig.Format)
break
}
signedData := buildDataSignedForAuth(sessionID, userAuthReq, algoBytes, pubKeyData)