gpgme/lang/cpp/src
Andre Heinecke 09667a6006 Cpp: Handle empty recipients consistently
* lang/cpp/src/context.cpp (Context::getKeysFromRecipients):
New helper.
(Context::encrypt, Context::startEncryption, Context::signAndEncrypt)
(Context::startCombinedSigningAndEncryption): Use new helper.
* lang/cpp/src/context.h (Context::getKeysFromRecipients): Add
as private helper.

--
bf776ce was incomplete as the code to handle recpients
was duplicated four times. This is now unified and constently
uses a nullptr instead of an empty array.
2016-08-10 14:12:33 +02:00
..
interfaces Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
assuanresult.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
assuanresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
callbacks.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
callbacks.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
configuration.cpp Cpp: Remove last usages of boost 2016-04-11 17:00:59 +02:00
configuration.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
context_glib.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
context_p.h Qt / Cpp: Port auto_ptr to unique_ptr 2016-05-17 17:54:53 +02:00
context_qt.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
context_vanilla.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
context.cpp Cpp: Handle empty recipients consistently 2016-08-10 14:12:33 +02:00
context.h Cpp: Handle empty recipients consistently 2016-08-10 14:12:33 +02:00
data_p.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
data.cpp core: New GPGME_DATA_ENCODING_MIME. 2016-07-13 14:45:02 +02:00
data.h core: New GPGME_DATA_ENCODING_MIME. 2016-07-13 14:45:02 +02:00
decryptionresult.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
decryptionresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
defaultassuantransaction.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
defaultassuantransaction.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
editinteractor.cpp Cpp: Do not treat KEYEXPIRED as error 2016-06-27 14:47:44 +02:00
editinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
encryptionresult.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
encryptionresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
engineinfo.cpp Cpp: Add EngineInfo::Version class 2016-07-14 17:02:38 +02:00
engineinfo.h Cpp: Add EngineInfo::Version class 2016-07-14 17:02:38 +02:00
error.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
eventloopinteractor.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
eventloopinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
exception.cpp Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
exception.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
global.h Cpp: Add feature enum for new identify 2016-07-13 11:56:18 +02:00
gpgadduserideditinteractor.cpp Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgadduserideditinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgagentgetinfoassuantransaction.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
gpgagentgetinfoassuantransaction.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgmefw.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgmepp_export.h Qt/Cpp: Add license blurb to export headers 2016-07-12 11:35:39 +02:00
gpgmepp_version.h.in Qt/Cpp: Add version headers 2016-07-12 11:35:39 +02:00
GpgmeppConfig.cmake.in.in Add pthread in gpgmepp config 2016-04-04 10:59:13 +02:00
GpgmeppConfigVersion.cmake.in Add cmake configuration files 2016-03-02 18:41:42 +01:00
gpgsetexpirytimeeditinteractor.cpp Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgsetexpirytimeeditinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgsetownertrusteditinteractor.cpp Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgsetownertrusteditinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
gpgsignkeyeditinteractor.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
gpgsignkeyeditinteractor.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
importresult.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
importresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
key.cpp Cpp: Expose gpgme_pubkey_algo_name 2016-07-06 15:07:34 +02:00
key.h Cpp: Expose gpgme_pubkey_algo_name 2016-07-06 15:07:34 +02:00
keygenerationresult.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
keygenerationresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
keylistresult.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
keylistresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
Makefile.am Qt/Cpp: Add version headers 2016-07-12 11:35:39 +02:00
notation.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
result_p.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
result.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
scdgetinfoassuantransaction.cpp Cpp: Remove last usages of boost 2016-04-11 17:00:59 +02:00
scdgetinfoassuantransaction.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
signingresult.cpp Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
signingresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00
tofuinfo.cpp Cpp: Add TofuInfo to signatures 2016-07-01 16:52:34 +02:00
tofuinfo.h Cpp: Add TofuInfo to signatures 2016-07-01 16:52:34 +02:00
trustitem.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
trustitem.h Initial checkin of gpgmepp sources 2016-02-22 19:01:37 +01:00
util.h Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
verificationresult.cpp Cpp: Add support for TOFU_CONFLICT sigsum 2016-07-04 11:44:39 +02:00
verificationresult.h Cpp: Add support for TOFU_CONFLICT sigsum 2016-07-04 11:44:39 +02:00
vfsmountresult.cpp Remove feature check ifdefs 2016-02-22 19:07:41 +01:00
vfsmountresult.h Cpp / Qt: Reduce boost usage (memory and tuple) 2016-04-03 04:52:16 -08:00