| Author | lloyd@randombit.net |
|---|---|
| Branch | net.randombit.botan |
| Changelog |
The BER decoder assumed that all constructed types would be tagged as universal: this prevented it from decoding application, context-specific, or private-class constructions. Add a new parameter to BER_Decoder::start_cons which specifies the expected class type (default universal). The decoder still verifies that the constructed bit is set in the class tag. This provides parity with the interface to the DER encoder. Problem was found and reported by Falko Strenzke |
| Date | 2008-05-08T15:16:22 |
| Oldrevision |
Old revision is: [fb5ed585..] (diff) |
|---|---|
| Patch |
Patch file include/ber_dec.h (diff) Patch file src/ber_dec.cpp (diff) |