comparison src/ch/ethz/ssh2/transport/ServerKexManager.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 beaccc9df37b
children 90e47d99ea54 071eccdff8ea
comparison
equal deleted inserted replaced
304:abad243cb341 305:d2b303406d63
4 */ 4 */
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.KeyPair;
10 import java.security.PublicKey;
11 import java.security.SecureRandom;
12 import java.security.interfaces.DSAPrivateKey; 9 import java.security.interfaces.DSAPrivateKey;
13 import java.security.interfaces.DSAPublicKey; 10 import java.security.interfaces.DSAPublicKey;
14 import java.security.interfaces.ECPrivateKey; 11 import java.security.interfaces.ECPrivateKey;
15 import java.security.interfaces.ECPublicKey; 12 import java.security.interfaces.ECPublicKey;
16 import java.security.interfaces.RSAPrivateKey; 13 import java.security.interfaces.RSAPrivateKey;
17 import java.security.interfaces.RSAPublicKey; 14 import java.security.interfaces.RSAPublicKey;
15
18 import ch.ethz.ssh2.ConnectionInfo; 16 import ch.ethz.ssh2.ConnectionInfo;
19 import ch.ethz.ssh2.PacketTypeException; 17 import ch.ethz.ssh2.PacketTypeException;
20 import ch.ethz.ssh2.auth.ServerAuthenticationManager; 18 import ch.ethz.ssh2.auth.ServerAuthenticationManager;
21 import ch.ethz.ssh2.crypto.cipher.BlockCipher; 19 import ch.ethz.ssh2.crypto.cipher.BlockCipher;
22 import ch.ethz.ssh2.crypto.cipher.BlockCipherFactory; 20 import ch.ethz.ssh2.crypto.cipher.BlockCipherFactory;
43 public ServerKexManager(ServerConnectionState state) { 41 public ServerKexManager(ServerConnectionState state) {
44 super(state.tm, state.csh, state.next_cryptoWishList, state.generator); 42 super(state.tm, state.csh, state.next_cryptoWishList, state.generator);
45 this.state = state; 43 this.state = state;
46 } 44 }
47 45
48 @Override
49 public void handleFailure(final IOException failure) { 46 public void handleFailure(final IOException failure) {
50 synchronized(accessLock) { 47 synchronized(accessLock) {
51 connectionClosed = true; 48 connectionClosed = true;
52 accessLock.notifyAll(); 49 accessLock.notifyAll();
53 } 50 }
54 } 51 }
55 52
56 @Override
57 public void handleMessage(byte[] msg) throws IOException { 53 public void handleMessage(byte[] msg) throws IOException {
58 PacketKexInit kip; 54 PacketKexInit kip;
59 55
60 if((kxs == null) && (msg[0] != Packets.SSH_MSG_KEXINIT)) { 56 if((kxs == null) && (msg[0] != Packets.SSH_MSG_KEXINIT)) {
61 throw new PacketTypeException(msg[0]); 57 throw new PacketTypeException(msg[0]);