fix: client shouldn't use P751/x448 ID

This commit is contained in:
Henry Case 2018-10-09 09:38:59 +01:00
parent 3895b624f3
commit ce53b126bc

View File

@ -55,8 +55,8 @@ func getQrAlgoId(qr string) tls.CurveID {
switch qr { switch qr {
case "SIDH-P503-X25519": case "SIDH-P503-X25519":
return tls.HybridSidhP503Curve25519 return tls.HybridSidhP503Curve25519
case "SIDH-P751-X448": //case "SIDH-P751-X448":
return tls.HybridSidhP751Curve448 // return tls.HybridSidhP751Curve448
default: default:
return 0 return 0
} }