fix: client shouldn't use P751/x448 ID
This commit is contained in:
parent
3895b624f3
commit
ce53b126bc
@ -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
|
||||||
}
|
}
|
||||||
|
Caricamento…
Fai riferimento in un nuovo problema
Block a user