Clarify pointer ownership decorators documentation

Use old char* in PGP functionas asked by Cyril
This commit is contained in:
Gioacchino Mazzurco 2020-04-20 14:46:46 +02:00
parent e406a1fb8b
commit 3f38d04680
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
3 changed files with 22 additions and 18 deletions

View file

@ -632,7 +632,7 @@ std::string PGPHandler::SaveCertificateToString(const RsPgpId& id,bool include_s
bool PGPHandler::exportPublicKey(
const RsPgpId& id,
rs_view_ptr<unsigned char>& mem_block, size_t& mem_size,
unsigned char*& mem_block, size_t& mem_size,
bool armoured, bool include_signatures ) const
{
mem_block = nullptr; mem_size = 0; // clear just in case