Closed saurik closed 3 years ago
@arun11299 I just read my patch again--which was me pushing something I'd done locally a long time ago--and noticed the "or something" in the error message... with the wonder if that's why you didn't fix this, I've removed that, in the hope that having a reasonable message there makes this commit-able, as-is, with less effort ;P.
@saurik Not really. This PR didn't catch my eye, so I missed it.
Thanks for the PR.
Without this patch, InvalidKeyError would result in "unknown algorithm error", and if you are using -Wswitch (such as I am) then the code doesn't compile at all.