mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 20:16:16 +02:00
Minor cleanup
This commit is contained in:
parent
1aaf1a19cd
commit
d8b84e6875
2 changed files with 2 additions and 4 deletions
|
@ -483,9 +483,7 @@ void EntityServer::startDynamicDomainVerification() {
|
||||||
QJsonDocument doc(jsonObject);
|
QJsonDocument doc(jsonObject);
|
||||||
qCDebug(entities) << "ZRF FIXME" << doc.toJson(QJsonDocument::Compact);
|
qCDebug(entities) << "ZRF FIXME" << doc.toJson(QJsonDocument::Compact);
|
||||||
|
|
||||||
// ZRF FIXME!!!
|
if (networkReply->error() == QNetworkReply::NoError) {
|
||||||
//if (networkReply->error() == QNetworkReply::NoError) {
|
|
||||||
if (true) {
|
|
||||||
// ZRF FIXME!!!
|
// ZRF FIXME!!!
|
||||||
//if (jsonObject["location"].toString() != thisDomainID) {
|
//if (jsonObject["location"].toString() != thisDomainID) {
|
||||||
if (false) {
|
if (false) {
|
||||||
|
|
|
@ -1249,7 +1249,7 @@ void EntityTree::validatePop(const QString& certID, const EntityItemID& entityIt
|
||||||
} else {
|
} else {
|
||||||
// Second, challenge ownership of the PoP cert
|
// Second, challenge ownership of the PoP cert
|
||||||
// 1. Encrypt a nonce with the owner's public key
|
// 1. Encrypt a nonce with the owner's public key
|
||||||
QString ownerKey(jsonObject["owner_public_key"].toString());
|
QString ownerKey(jsonObject["transfer_recipient_key"].toString());
|
||||||
QString encryptedText = computeEncryptedNonce(certID, ownerKey);
|
QString encryptedText = computeEncryptedNonce(certID, ownerKey);
|
||||||
|
|
||||||
if (encryptedText == "") {
|
if (encryptedText == "") {
|
||||||
|
|
Loading…
Reference in a new issue