fix decoding and printing of DiffieHellman Client params

This commit is contained in:
mathewmarcus 2018-07-02 20:52:12 -05:00
parent 170158a65b
commit 3020239022

View file

@ -467,7 +467,9 @@ static int decode_HandshakeType_ClientKeyExchange(ssl,dir,seg,data)
break;
case KEX_DH:
SSL_DECODE_OPAQUE_ARRAY(ssl,"DiffieHellmanClientPublicValue",
-(1<<15-1),P_HL,data,0);
-((1<<7)-1),P_HL,data,0);
ssl_process_client_key_exchange(ssl,
ssl->decoder,NULL,0);
}
}
return(0);