update crypto upstream (#161)

* update dep

* go mod tidy

* fix test

* fix flaky test
This commit is contained in:
Boshi Lian 2023-07-06 23:05:26 -07:00 • committed by GitHub
parent 8eeb3abac5
commit bffa03dde0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 14 deletions

View file

@ -62,7 +62,7 @@ func TestFixed(t *testing.T) {
}
func TestHostkeyParam(t *testing.T) {
_, piperport := nextAvailablePiperAddress()
piperaddr, piperport := nextAvailablePiperAddress()
keyparam := base64.StdEncoding.EncodeToString([]byte(testprivatekey))
piper, _, _, err := runCmd("/sshpiperd/sshpiperd",
@ -81,6 +81,8 @@ func TestHostkeyParam(t *testing.T) {
defer killCmd(piper)
waitForEndpointReady(piperaddr)
b, err := runAndGetStdout(
"ssh-keyscan",
"-p",