Home GnuPG

Cpp: Fix simple symmetric encryption

Description

Cpp: Fix simple symmetric encryption

* lang/cpp/src/context.cpp (Context::encrypt): If no recipients
are provided encrypt with NULL and not an empty array.

Sending an empty array leads to an invalid argument error.

Details

Provenance
aheineckeAuthored on Aug 9 2016, 12:56 PM
Parents
rGPGMEPP4c180b7092e2: Cpp: Add EngineInfo::Version class
Branches
Unknown
Tags
Unknown