aboutsummaryrefslogtreecommitdiffstats
path: root/include/botan.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-05-08 15:16:22 +0000
committerlloyd <[email protected]>2008-05-08 15:16:22 +0000
commit7f0ab13ebd0342dbcffbeb726ac50dac95e35c88 (patch)
treef66f884ec6bcb2e4d7425bc35c0e5e69ca47ca0c /include/botan.h
parent64fc7744bea527beab8c0eebcde68831c896bfdc (diff)
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
Diffstat (limited to 'include/botan.h')
0 files changed, 0 insertions, 0 deletions