mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-12 14:00:01 -04:00
fix certauth
This commit is contained in:
parent
fe250c32c3
commit
b6ba44eaa3
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ impl ProtocolExtensionBuilder for CertAuthProtocolExtensionBuilder {
|
|||
// validate and parse response
|
||||
let cert_type = SupportedCertificateTypes::from_bits(bytes.get_u8())
|
||||
.ok_or(WispError::CertAuthExtensionSigInvalid)?;
|
||||
let hash = bytes.split_to(64);
|
||||
let hash = bytes.split_to(32);
|
||||
let sig = Signature::from_slice(&bytes).map_err(CertAuthError::from)?;
|
||||
let is_valid = verifiers
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue