Cleaner number parsing, padding check.
This commit is contained in:
@@ -19,7 +19,8 @@ pub enum SSHKeyParseError
|
||||
PrivateKeyCorruption,
|
||||
InconsistentKeyTypes(String,String),
|
||||
InconsistentPublicKeyValue,
|
||||
InvalidPrivateKeyValue
|
||||
InvalidPrivateKeyValue,
|
||||
InvalidPadding
|
||||
}
|
||||
|
||||
impl From<ASN1DecodeErr> for SSHKeyParseError {
|
||||
|
||||
Reference in New Issue
Block a user