diff options
author | Damien George <damien@micropython.org> | 2021-05-25 16:48:29 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-05-26 21:44:46 +1000 |
commit | 6a127810c03d7666f1866f5e48df3c102805dbe8 (patch) | |
tree | e78b23382f2d3ff743ab8fefde198ba84cc42ba2 /tests/basics/async_syntaxerror.py.exp | |
parent | 0abf6f830cd390e2e5dbd4a2c68f611f5c9507dc (diff) | |
download | micropython-6a127810c03d7666f1866f5e48df3c102805dbe8.tar.gz micropython-6a127810c03d7666f1866f5e48df3c102805dbe8.zip |
extmod/moduhashlib: Put hash obj in final state after digest is called.
If digest is called then the hash object is put in a "final" state and
calling update() or digest() again will raise a ValueError (instead of
silently producing the wrong result).
See issue #4119.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/basics/async_syntaxerror.py.exp')
0 files changed, 0 insertions, 0 deletions