mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-11 15:55:19 +00:00
fix ECP curve BER decode
This commit is contained in:
parent
055e39844f
commit
bff781df0c
6
ecp.cpp
6
ecp.cpp
@ -44,7 +44,11 @@ ECP::ECP(BufferedTransformation &bt)
|
||||
GetField().BERDecodeElement(seq, m_b);
|
||||
// skip optional seed
|
||||
if (!seq.EndReached())
|
||||
BERDecodeOctetString(seq, TheBitBucket());
|
||||
{
|
||||
SecByteBlock seed;
|
||||
unsigned int unused;
|
||||
BERDecodeBitString(seq, seed, unused);
|
||||
}
|
||||
seq.MessageEnd();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user