Unverified Commit c0af6394 authored by jeff's avatar jeff
Browse files

make it compile

parent 79480e08
......@@ -216,7 +216,7 @@ void AuthHiddenServiceChannel::sendAuthMessage()
// get the public key
//todo auth check here to see if the key is a v3 service id, to get the v3 public key
const auto publicKey = d->v3serviceID.getV3ServiceId();
const auto publicKey = d->v3serviceID.getV3serviceID();
if (publicKey.size() > 150) {
BUG() << "Unexpected size for encoded public key";
......@@ -575,7 +575,7 @@ bool CryptoKey::verifySHA256(const QByteArray &digest, QByteArray signature) con
} else if (this->keyType == V3ServiceID) {
//call verifying function for v3 keys
result = ed25519_sign_open(reinterpret_cast<const uchar*>(digest.constData()), digest.size(),
reinterpret_cast<const uchar*>(v3publicKey.c_str()),
reinterpret_cast<const uchar*>(v3EncodedKeyString.c_str()),
reinterpret_cast<const uchar*>(signature.constData())) != -1;
else {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment