You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this is a bit edge-casey, but when clobbering an existing hash and providing an invalid hash size, sparkey_hash_write incorrectly returns SPARKEY_SUCCESS.
Interesting. It's not really an important bug, since sparkey_hash_write exits early if it notices there's no work to be done, even before it needs to look at the hash size.
I will move the hash size verification earlier in the step (unless it turns out the code gets a lot messier as a result), but I won't make any new release/tag for it since it's somewhat of a contrived example that requires intentional misuse of the api and doesn't actually cause any harm :)
I know this is a bit edge-casey, but when clobbering an existing hash and providing an invalid hash size,
sparkey_hash_write
incorrectly returnsSPARKEY_SUCCESS
.Test case:
The text was updated successfully, but these errors were encountered: