Home GnuPG
Diffusion GPGME bf776ce94cf4

Cpp: Fix simple symmetric encryption
bf776ce94cf4Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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
rM3d2f027d0f40: core: Add support for mixed symmetric and asym enc
Branches
Unknown
Tags
Unknown

Event Timeline

Andre Heinecke <aheinecke@intevation.de> committed rMbf776ce94cf4: Cpp: Fix simple symmetric encryption (authored by Andre Heinecke <aheinecke@intevation.de>).Aug 9 2016, 2:23 PM