aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/sshkeyexchange.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <[email protected]>2015-06-29 15:36:06 +0200
committerChristian Kandeler <[email protected]>2015-06-29 13:42:15 +0000
commit6b2917a208b45c6ec0431346502bac7268f944e3 (patch)
tree0a7fc9a387bea9729ec49b63a916e154242a9a9c /src/libs/ssh/sshkeyexchange.cpp
parent8529f084af9f5f812a269a6a1071890733bec33a (diff)
SSH: Give better name to member variable.
No functional changes. Change-Id: Ie75fd001c90c2eaaf3c085c92e9ab2279e1fff98 Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'src/libs/ssh/sshkeyexchange.cpp')
-rw-r--r--src/libs/ssh/sshkeyexchange.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/ssh/sshkeyexchange.cpp b/src/libs/ssh/sshkeyexchange.cpp
index 2853ea76d72..25da1805c8b 100644
--- a/src/libs/ssh/sshkeyexchange.cpp
+++ b/src/libs/ssh/sshkeyexchange.cpp
@@ -213,7 +213,7 @@ void SshKeyExchange::sendNewKeysPacket(const SshIncomingPacket &dhReply,
= new RSA_PublicKey(reply.hostKeyParameters.at(1), reply.hostKeyParameters.at(0));
sigKey.reset(rsaKey);
} else {
- QSSH_ASSERT_AND_RETURN(m_serverHostKeyAlgo == SshCapabilities::PubKeyEcdsa);
+ QSSH_ASSERT_AND_RETURN(m_serverHostKeyAlgo == SshCapabilities::PubKeyEcdsa256);
const EC_Group domain("secp256r1");
const PointGFp point = OS2ECP(convertByteArray(reply.q), reply.q.count(),
domain.get_curve());