Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfdecyf committed May 27, 2013
2 parents 34c04a8 + e1e09f9 commit ad4ca99
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
@@ -1,9 +1,9 @@
language: go
install:
- go get github.com/cyfdecyf/leakybuf
- mkdir -p $GOPATH/src/github.com/shadowsocks/shadowsocks-go/shadowsocks
- mv * $GOPATH/src/github.com/shadowsocks/shadowsocks-go
- pushd $GOPATH/src/github.com/shadowsocks/shadowsocks-go
- go get code.google.com/p/go.crypto/blowfish
- go get code.google.com/p/go.crypto/cast5
- pushd $TRAVIS_BUILD_DIR
- go install ./cmd/shadowsocks-local
- go install ./cmd/shadowsocks-server
- popd
Expand Down
1 change: 0 additions & 1 deletion config.json
Expand Up @@ -3,6 +3,5 @@
"server_port":8388,
"local_port":1080,
"password":"barfoo!",
"method": null,
"timeout":600
}
2 changes: 1 addition & 1 deletion script/test.sh
Expand Up @@ -82,7 +82,7 @@ SERVER="shadowsocks-server"
LOCAL="shadowsocks-local"
test_server_local_pair

if [ -n $SS_NODEJS ]; then
if [[ -n $SS_NODEJS ]]; then
pushd $SS_NODEJS

SERVER="node server.js"
Expand Down
2 changes: 2 additions & 0 deletions shadowsocks/encrypt.go
Expand Up @@ -224,4 +224,6 @@ func (c *Cipher) Copy() *Cipher {
nc.dec = nil
return &nc
}
// should not reach here, keep it to make go 1.0.x compiler happy
return nil
}

0 comments on commit ad4ca99

Please sign in to comment.