mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-07 15:50:57 +03:00
throw exception when don't know key type
This commit is contained in:
@@ -508,7 +508,7 @@ public class Buffer<T extends Buffer<T>> {
|
||||
break;
|
||||
}
|
||||
default:
|
||||
assert false;
|
||||
throw new SSHRuntimeException("Don't know how to encode key: " + key);
|
||||
}
|
||||
return (T) this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user