summaryrefslogtreecommitdiff
path: root/obfs4proxy/obfs4proxy.go
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2014-06-02 16:47:30 +0000
committerYawning Angel <yawning@schwanenlied.me>2014-06-02 16:47:30 +0000
commit5cb3369e200c72aa23c3f86816cb854c35cc95cb (patch)
tree090d00f24335a70b2d6607dc484c243c495ea520 /obfs4proxy/obfs4proxy.go
parent36228437c43bf3fa67a4d5b8da8ddf123645e530 (diff)
Move the SipHash DRBG off into it's own package.
Diffstat (limited to 'obfs4proxy/obfs4proxy.go')
-rw-r--r--obfs4proxy/obfs4proxy.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/obfs4proxy/obfs4proxy.go b/obfs4proxy/obfs4proxy.go
index b0519ba..b8a3f00 100644
--- a/obfs4proxy/obfs4proxy.go
+++ b/obfs4proxy/obfs4proxy.go
@@ -62,6 +62,7 @@ import (
"git.torproject.org/pluggable-transports/goptlib.git"
"github.com/yawning/obfs4"
+ "github.com/yawning/obfs4/drbg"
"github.com/yawning/obfs4/ntor"
)
@@ -389,7 +390,7 @@ func generateServerParams(id string) {
return
}
- seed, err := obfs4.NewDrbgSeed()
+ seed, err := drbg.NewSeed()
if err != nil {
fmt.Println("Failed to generate DRBG seed:", err)
return