rust-keyutils icon indicating copy to clipboard operation
rust-keyutils copied to clipboard

Fix Key.sign method and add test for it

Open puiterwijk opened this issue 4 years ago • 0 comments

The truncate() method doesn't do anything if the "len" is greater than the current length, which is the case here. So instead, use the Vec.set_len method.

puiterwijk avatar Dec 16 '20 19:12 puiterwijk