xupercore
xupercore copied to clipboard
支持TLS传输国密
Description
What is the purpose of the change?
基于 github.com/tjfoc/gmsm 实现TLS传输加密,使用双证书模式,实际是一个证书对象,slice里放了两次,简化操作
Fixes # (issue)
Type of change
Please delete options that are not relevant.
- [ ] New feature (non-breaking change which adds functionality)
Brief of your solution
基于 github.com/tjfoc/gmsm 实现TLS传输加密,使用双证书模式,实际是一个证书对象,slice里放了两次,简化操作
Codecov Report
Merging #290 (7e4c02c) into master (dcc1e24) will decrease coverage by
0.15%. The diff coverage is0.00%.
@@ Coverage Diff @@
## master #290 +/- ##
==========================================
- Coverage 45.81% 45.65% -0.16%
==========================================
Files 138 138
Lines 12284 12307 +23
==========================================
- Hits 5628 5619 -9
- Misses 5504 5534 +30
- Partials 1152 1154 +2
| Impacted Files | Coverage Δ | |
|---|---|---|
| kernel/network/p2p/util.go | 0.00% <0.00%> (ø) |
|
| bcs/network/p2pv1/conn.go | 55.10% <0.00%> (-6.13%) |
:arrow_down: |
| bcs/contract/xvm/code_manager.go | 63.63% <0.00%> (-2.73%) |
:arrow_down: |
| bcs/consensus/tdpos/schedule.go | 42.98% <0.00%> (-0.91%) |
:arrow_down: |
| bcs/network/p2pv2/server.go | 52.40% <0.00%> (+1.06%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update dcc1e24...7e4c02c. Read the comment docs.