-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add two new algos for tls connection from client side. #4
Conversation
Dear maintainers, |
Will this be an issue for the ARM builds of Docker? (iirc, those still rely on Go 1.4.3 at this moment). |
we should add them with build tags. // +build go1.5 |
@thaJeztah thanks for your checking and @calavera , thanks for your good suggestion. And i have added the build tag into that config.go file and if it is go1.5, the compiler will pick up the config.go for building, and if it is go1.4 or later, the compiler will pick up config_legacy.go for building. Please check it again and welcome your suggestions. |
Thanks @hopkings2008. I don't think we need to copy everything in that file in for both versions do we? We could move everything that's not
Does this make sense? |
@calavera , good suggestion. I will make a change accordingly, thanks a lot. |
Signed-off-by: yuzou <zouyu7@huawei.com>
@calavera and @thaJeztah , I have made the changes according to the suggestion, and make a test locally for the new ciphers, please check it again, thanks a lot. |
it looks fantastic, thanks a lot. LGTM |
lgtm (not a maintainer here), thanks! |
We'll need to tag this change before vendoring it in docker, but I'm going to merge this for now. Thanks. |
add two new algos for tls connection from client side.
Signed-off-by: yuzou zouyu7@huawei.com