comparison src/ch/ethz/ssh2/transport/ClientKexManager.java @ 305:d2b303406d63 ganymed

remove extra override annotations that generate eclipse compiler errors
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 12:09:51 -0700
parents ab3a99f11a36
children 90e47d99ea54 071eccdff8ea
comparison
equal deleted inserted replaced
304:abad243cb341 305:d2b303406d63
5 package ch.ethz.ssh2.transport; 5 package ch.ethz.ssh2.transport;
6 6
7 import java.io.IOException; 7 import java.io.IOException;
8 import java.security.DigestException; 8 import java.security.DigestException;
9 import java.security.SecureRandom; 9 import java.security.SecureRandom;
10 import java.security.interfaces.DSAPublicKey;
11 import java.security.interfaces.ECPublicKey;
12 import java.security.interfaces.RSAPublicKey;
10 13
11 import ch.ethz.ssh2.ConnectionInfo; 14 import ch.ethz.ssh2.ConnectionInfo;
12 import ch.ethz.ssh2.PacketTypeException; 15 import ch.ethz.ssh2.PacketTypeException;
13 import ch.ethz.ssh2.ServerHostKeyVerifier; 16 import ch.ethz.ssh2.ServerHostKeyVerifier;
14 import ch.ethz.ssh2.compression.CompressionFactory; 17 import ch.ethz.ssh2.compression.CompressionFactory;
26 import ch.ethz.ssh2.packets.PacketKexDhGexReply; 29 import ch.ethz.ssh2.packets.PacketKexDhGexReply;
27 import ch.ethz.ssh2.packets.PacketKexDhGexRequest; 30 import ch.ethz.ssh2.packets.PacketKexDhGexRequest;
28 import ch.ethz.ssh2.packets.PacketKexDhGexRequestOld; 31 import ch.ethz.ssh2.packets.PacketKexDhGexRequestOld;
29 import ch.ethz.ssh2.packets.PacketKexInit; 32 import ch.ethz.ssh2.packets.PacketKexInit;
30 import ch.ethz.ssh2.packets.Packets; 33 import ch.ethz.ssh2.packets.Packets;
31 import java.security.interfaces.DSAPublicKey;
32 import java.security.interfaces.ECPublicKey;
33 import java.security.interfaces.RSAPublicKey;
34 import ch.ethz.ssh2.signature.DSASHA1Verify; 34 import ch.ethz.ssh2.signature.DSASHA1Verify;
35 import ch.ethz.ssh2.signature.ECDSASHA2Verify; 35 import ch.ethz.ssh2.signature.ECDSASHA2Verify;
36 import ch.ethz.ssh2.signature.RSASHA1Verify; 36 import ch.ethz.ssh2.signature.RSASHA1Verify;
37 37
38 /** 38 /**
81 } 81 }
82 82
83 throw new IOException("Unknown server host key algorithm '" + kxs.np.server_host_key_algo + "'"); 83 throw new IOException("Unknown server host key algorithm '" + kxs.np.server_host_key_algo + "'");
84 } 84 }
85 85
86 @Override
87 public void handleFailure(final IOException failure) { 86 public void handleFailure(final IOException failure) {
88 synchronized(accessLock) { 87 synchronized(accessLock) {
89 connectionClosed = true; 88 connectionClosed = true;
90 accessLock.notifyAll(); 89 accessLock.notifyAll();
91 } 90 }
92 } 91 }
93 92
94 @Override
95 public synchronized void handleMessage(byte[] msg) throws IOException { 93 public synchronized void handleMessage(byte[] msg) throws IOException {
96 PacketKexInit kip; 94 PacketKexInit kip;
97 95
98 if((kxs == null) && (msg[0] != Packets.SSH_MSG_KEXINIT)) { 96 if((kxs == null) && (msg[0] != Packets.SSH_MSG_KEXINIT)) {
99 throw new PacketTypeException(msg[0]); 97 throw new PacketTypeException(msg[0]);