diff options
author | Felix Lange <fjl@twurst.com> | 2015-07-18 22:13:20 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-07-18 22:23:35 +0800 |
commit | 345590f27f81517fd7b560a3fafb0a2c8b498094 (patch) | |
tree | 687cb53f92cf769df36aa3bf79eb40dadcc1730a /crypto | |
parent | cefd948267c6d16b317f7c15feb653a7725a3f1b (diff) | |
download | dexon-345590f27f81517fd7b560a3fafb0a2c8b498094.tar dexon-345590f27f81517fd7b560a3fafb0a2c8b498094.tar.gz dexon-345590f27f81517fd7b560a3fafb0a2c8b498094.tar.bz2 dexon-345590f27f81517fd7b560a3fafb0a2c8b498094.tar.lz dexon-345590f27f81517fd7b560a3fafb0a2c8b498094.tar.xz dexon-345590f27f81517fd7b560a3fafb0a2c8b498094.tar.zst dexon-345590f27f81517fd7b560a3fafb0a2c8b498094.zip |
rlp: fix check for canonical byte array size
Decoding did not reject byte arrays of length one with a single element
b where 55 < b < 128. Such byte arrays must be rejected because
they must be encoded as the single byte b instead.
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions