summaryrefslogtreecommitdiff
path: root/src/protocol/internal/fqterm_ssh_kex.h
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-04-28 21:50:54 +0800
committerIru Cai <mytbk920423@gmail.com>2018-04-30 15:20:28 +0800
commitef70cc73c69d04e93c9af5fb49c5d762ba226801 (patch)
tree2f96375bb6047f1a6161c00f659e222711db3cd7 /src/protocol/internal/fqterm_ssh_kex.h
parentbec678f312d282cd467a4d13dbf29c37ea111ce7 (diff)
downloadfqterm-ef70cc73c69d04e93c9af5fb49c5d762ba226801.tar.xz
Add a connection info field in FQTermSocket
- the connection info record contains the name of the cipher and MAC algorithms, and the key hash - after doing a key exchange, the connection info will be filled
Diffstat (limited to 'src/protocol/internal/fqterm_ssh_kex.h')
-rw-r--r--src/protocol/internal/fqterm_ssh_kex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/internal/fqterm_ssh_kex.h b/src/protocol/internal/fqterm_ssh_kex.h
index f84c0d5..2bd46b8 100644
--- a/src/protocol/internal/fqterm_ssh_kex.h
+++ b/src/protocol/internal/fqterm_ssh_kex.h
@@ -53,7 +53,7 @@ public:
virtual void initKex(FQTermSSHPacketReceiver *packetReceiver,
FQTermSSHPacketSender *outputSender) = 0;
-
+ virtual void hostKeyHash(unsigned char *md) {}
public slots:
virtual void handlePacket(int type) = 0;