decrypt function updated

master
moneroexamples 8 years ago
parent 31a1862b80
commit 4211e5a5cb

@ -818,11 +818,6 @@ namespace xmreg
crypto::public_key pkey; crypto::public_key pkey;
crypto::secret_key_to_public_key(skey, pkey); crypto::secret_key_to_public_key(skey, pkey);
const crypto::signature &signature =
*(const crypto::signature*)&ciphertext[ciphertext.size()
- sizeof(crypto::signature)];
const crypto::signature &signature = const crypto::signature &signature =
*(const crypto::signature*)&ciphertext[ciphertext.size() *(const crypto::signature*)&ciphertext[ciphertext.size()
- sizeof(crypto::signature)]; - sizeof(crypto::signature)];

Loading…
Cancel
Save