python-blake2 icon indicating copy to clipboard operation
python-blake2 copied to clipboard

`key_length` must have a default value.

Open pgonee opened this issue 12 years ago • 1 comments

When key is None, key_length wouldn't be set by PyArg_ParseTupleAndKeywords, since format s doesn't accept None. Thus I added a proper default value for it, and also test case for it.

pgonee avatar Feb 19 '13 07:02 pgonee

This isssue fixes #2 .

pgonee avatar Feb 19 '13 07:02 pgonee