Commit Graph

8 Commits

Author SHA1 Message Date
Feng Jie
237f895ef1 Uninitialized variable l results in cert length mismatch error
An local var `l` in gmtls_construct_client_certificate is uninitialized,
which leads to an cert length mismatch error.

GMTLS handshake using SM2-WITH-SMS4-SM3 cipher suite will be failed due
to this issue.

My editor automatically removed some trailing spaces when I fixed this
bug. So some lines modified in `statem_gmtls.c` are insignificant.
Please ignore them.
2019-09-19 18:39:20 +08:00
Zhi Guan
343fa622ae Remove chinese comments 2019-01-14 18:52:54 +08:00
Zhi Guan
9ca519edfa Update SM9 decrypt
to be tested
2018-10-06 17:33:34 +08:00
Zhi Guan
b54a3d35e6 Update SM9 schemes
Update SM9 schemes based on the default sm9bn256v1 r-ate pairing. To be continued.
2018-09-28 22:21:44 +08:00
Zhi Guan
92971350c4 Add GMTLS v1.1 protocol support
Aka GM/T 0024-2012 SSL VPN protocol
2018-03-22 13:09:02 +08:00
Zhi Guan
4d60905e04 add sm3/sms4 to speed 2017-11-13 15:38:49 +08:00
Zhi Guan
27bde477a5 first step of v2 final release 2017-11-05 21:00:36 +08:00
Zhi Guan
eb21e9d572 update 2017-04-14 15:31:38 +08:00