(e: impl Display)
| 111 | } |
| 112 | |
| 113 | pub fn decrypt_failed(e: impl Display) -> io::Error { |
| 114 | io::Error::other(format!( |
| 115 | "Failed to decrypt private key (wrong password?): {e}", |
| 116 | )) |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | /// Convert error message to rustls::Error with InvalidCertificate wrapper |
no outgoing calls
no test coverage detected