Skip to content

Commit 4be5a98

Browse files
authored
Merge pull request #400 from maxd/public_constructor_of_host_entry
HostEntry constructor must be public
2 parents 39b72ee + 26df2f3 commit 4be5a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/schmizz/sshj/transport/verification/OpenSSHKnownHosts.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public static class HostEntry implements KnownHostEntry {
310310
protected final PublicKey key;
311311
private final KnownHostMatchers.HostMatcher matcher;
312312

313-
HostEntry(Marker marker, String hostPart, KeyType type, PublicKey key) throws SSHException {
313+
public HostEntry(Marker marker, String hostPart, KeyType type, PublicKey key) throws SSHException {
314314
this.marker = marker;
315315
this.hostPart = hostPart;
316316
this.type = type;

0 commit comments

Comments
 (0)