mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-08 08:10:55 +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;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
assert false;
|
throw new SSHRuntimeException("Don't know how to encode key: " + key);
|
||||||
}
|
}
|
||||||
return (T) this;
|
return (T) this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user