rustls-rustcrypto
rustls-rustcrypto copied to clipboard
verify_signature: Invalid Public key should not be mapped as InvalidSignature
https://github.com/RustCrypto/rustls-rustcrypto/blob/e6d5ed9652228ff09e56fee2534b6f60877fb7b8/src/verify/rsa.rs#L37
Same goes for https://github.com/RustCrypto/rustls-rustcrypto/blob/e6d5ed9652228ff09e56fee2534b6f60877fb7b8/src/verify/rsa.rs#L39-L41
But on a different context. I'm too lazy to find the correct error type though.