diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-01-15 02:14:49 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-07-23 15:14:43 +0900 |
commit | 6b67c6d91389d73b06d76c10d4d25b67b827b259 (patch) | |
tree | b9137ab0036d5e5744d0eb1a1e003b29a16e03d1 /ext/openssl/ossl_ocsp.c | |
parent | 1d202b077dce4b2732d902c8d5b488792f578079 (diff) | |
download | ruby-openssl-6b67c6d91389d73b06d76c10d4d25b67b827b259.tar.gz |
asn1: do not treat EOC octets as part of content octetstopic/asn1-overhaul
We currently treat end-of-contents octets as a BER encoding of a value
whose tag is universal class and the number is zero, and require users
to put one in the end of 'value' array when encoding using indefinite
length form. However, the end-of-contents are just a marker indicating
the end of the contents and not really part of the contents.
Do not require users to put an EOC object in the content when encoding,
and don't produce an EOC object when decoding an encoding that uses
indefinite length form.
Diffstat (limited to 'ext/openssl/ossl_ocsp.c')
0 files changed, 0 insertions, 0 deletions