Skip to content

Commit

Permalink
gofmt; updated to latest golang/x/crypto; merged mcrute@ patch to mar…
Browse files Browse the repository at this point in the history
…shal/unmarshal server state.
  • Loading branch information
opencoff committed Jan 13, 2020
1 parent 25ea3c1 commit da04332
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
5 changes: 2 additions & 3 deletions example/primefield.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@
package main

import (
"os"
"fmt"
"strconv"
"github.com/opencoff/go-srp"
"os"
"strconv"
)


func main() {

if len(os.Args) == 1 {
Expand Down
7 changes: 2 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module github.com/opencoff/go-srp

require (
golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5
golang.org/x/sys v0.0.0-20190412213103-97732733099d
)

go 1.13

require golang.org/x/crypto v0.0.0-20200109152110-61a87790db17
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5 h1:8dUaAV7K4uHsF56JQWkprecIQKdPHtR9jCHF5nB8uzc=
golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 h1:0GoQqolDA55aaLxZyTzK/Y2ePZzZTUrRacwib7cNsYQ=
golang.org/x/crypto v0.0.0-20200109152110-61a87790db17 h1:nVJ3guKA9qdkEQ3TUdXI9QSINo2CUPM/cySEvw2w8I0=
golang.org/x/crypto v0.0.0-20200109152110-61a87790db17/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
2 changes: 0 additions & 2 deletions srp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ func newAsserter(t *testing.T) func(cond bool, msg string, args ...interface{})
}
}


type userdb struct {
s *SRP
u map[string]string
Expand Down Expand Up @@ -155,4 +154,3 @@ func TestSRP(t *testing.T) {
db.verify(t, user, badpass, false)
}
}

0 comments on commit da04332

Please sign in to comment.