diff options
author | weidai <weidai11@users.noreply.github.com> | 2009-03-28 03:08:27 +0000 |
---|---|---|
committer | weidai <weidai11@users.noreply.github.com> | 2009-03-28 03:08:27 +0000 |
commit | 3be02e9a1a001fda2c5a1e07a9c4d4d255ff439b (patch) | |
tree | edc665bb430df13f81c30b87dcc021223804c80a /ec2n.cpp | |
parent | 88e0d157d71d7c39bd26beb0936005b8a1ea3710 (diff) | |
download | cryptopp-git-3be02e9a1a001fda2c5a1e07a9c4d4d255ff439b.tar.gz |
fix EC2N skipping of optional seed, switch to public domain MARS code, deliver vc80.pdb to OutDir
Diffstat (limited to 'ec2n.cpp')
-rw-r--r-- | ec2n.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,7 +20,11 @@ EC2N::EC2N(BufferedTransformation &bt) m_field->BERDecodeElement(seq, m_b); // skip optional seed if (!seq.EndReached()) - BERDecodeOctetString(seq, TheBitBucket()); + { + SecByteBlock seed; + unsigned int unused; + BERDecodeBitString(seq, seed, unused); + } seq.MessageEnd(); } |