summaryrefslogtreecommitdiff
path: root/distfoldd/agent.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-09-30 23:56:06 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-09-30 23:56:06 +0200
commitc0183326a6447f931d4ec971963633a687e12c5e (patch)
tree93d69414784fc9f60dd9805c7480d345c05b853e /distfoldd/agent.h
parenteafd6be17a1bf1e6518180ffbc401cc0eacc332f (diff)
downloaddistfold-c0183326a6447f931d4ec971963633a687e12c5e.tar.gz
distfold-c0183326a6447f931d4ec971963633a687e12c5e.zip
prevent trivial mitm attack
Diffstat (limited to 'distfoldd/agent.h')
-rw-r--r--distfoldd/agent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/distfoldd/agent.h b/distfoldd/agent.h
index 0d25077..727eb55 100644
--- a/distfoldd/agent.h
+++ b/distfoldd/agent.h
@@ -187,7 +187,7 @@ protected:
static QByteArray hmacSha1(const QByteArray& key, const QByteArray& message);
QByteArray generateChallenge();
- QByteArray generateChallengeResponse(const QByteArray& server_challenge, const QByteArray& client_challenge);
+ QByteArray generateChallengeResponse(const QByteArray& server_challenge, const QByteArray& client_challenge, const QSslCertificate& server_cert, const QSslCertificate& client_cert);
QByteArray encodeAuthReply(AuthResult result);
AuthResult decodeAuthReply(const QByteArray& ba);