Fixed weird little test bug, also part of the ENGINE-476 in here
authorKrista Bennett <krista@pep.foundation>
Wed, 31 Oct 2018 15:54:46 +0100
changeset 31200e27fc787bb7
parent 3104 2b14c4d40d95
child 3121 f33a2ae77177
Fixed weird little test bug, also part of the ENGINE-476 in here
.hgignore
.hgtags
CC_BY-SA.txt
LICENSE.txt
Makefile
Makefile.conf
README.md
asn.1/Makefile
asn.1/devicegroup.asn1
asn.1/pEp.asn1
asn.1/pEpEngineASN1/ReadMe.txt
asn.1/pEpEngineASN1/pEpEngineASN1.vcxproj
asn.1/pEpEngineASN1/pEpEngineASN1.vcxproj.filters
asn.1/protocols.asn1
build-android/jni/Android.mk
build-android/jni/Application.mk
build-linux/Makefile
build-mac/build.sh
build-mac/build_libcurl_dist.sh
build-mac/curl-7.48.0.tar.gz.asc
build-mac/curl/curl.h
build-mac/curl/curlbuild.h
build-mac/curl/curlrules.h
build-mac/curl/curlver.h
build-mac/curl/easy.h
build-mac/curl/mprintf.h
build-mac/curl/multi.h
build-mac/curl/stdcheaders.h
build-mac/curl/typecheck-gcc.h
build-mac/libcurl.a
build-mac/pEpEngine.xcodeproj/project.pbxproj
build-mac/pEpEngine.xcodeproj/project.xcworkspace/contents.xcworkspacedata
build-mac/pEpTrustWords/Info.plist
build-windows/README.txt
build-windows/pEpEngine.vcxproj
build-windows/pEpEngine.vcxproj.filters
db/Makefile
db/ca.csv
db/create_system_db.sql
db/csv2csv.py
db/de.csv
db/dic2csv.py
db/en.csv
db/es.csv
db/fr.csv
db/make_systemdb.cmd
db/mkpass
db/nl.csv
db/sort.py
db/tr.csv
db/trustwords.py
default.conf
doc/build-debian.md
doc/build-macos.md
doc/build-netpgp.md
doc/macports_env.sh
doc/misc/cc-header.md
doc/misc/gpl-header.txt
doc/readme.md
src/Makefile
src/asn1_helper.c
src/asn1_helper.h
src/base64.c
src/base64.h
src/baseprotocol.c
src/baseprotocol.h
src/blacklist.c
src/blacklist.h
src/bloblist.c
src/bloblist.h
src/cryptotech.c
src/cryptotech.h
src/dynamic_api.h
src/email.c
src/email.h
src/etpan_mime.c
src/etpan_mime.h
src/identity_list.c
src/identity_list.h
src/keymanagement.c
src/keymanagement.h
src/labeled_int_list.c
src/labeled_int_list.h
src/map_asn1.c
src/map_asn1.h
src/message.c
src/message.h
src/message_api.c
src/message_api.h
src/mime.c
src/mime.h
src/openpgp_compat.c
src/openpgp_compat.h
src/pEpEngine.c
src/pEpEngine.h
src/pEp_internal.h
src/pEp_string.c
src/pEp_string.h
src/pgp_gpg.c
src/pgp_gpg.h
src/pgp_gpg_internal.h
src/pgp_netpgp.c
src/pgp_netpgp.h
src/pgp_netpgp_internal.h
src/platform.h
src/platform_unix.c
src/platform_unix.h
src/platform_windows.cpp
src/platform_windows.h
src/resource.h
src/resource_id.c
src/resource_id.h
src/sqlite3.c
src/sqlite3.h
src/stringlist.c
src/stringlist.h
src/stringpair.c
src/stringpair.h
src/sync.c
src/sync.h
src/sync_actions.c
src/sync_app.h
src/sync_impl.c
src/sync_impl.h
src/timestamp.c
src/timestamp.h
src/trans_auto.c
src/trans_auto.h
src/transport.c
src/transport.h
src/update.sql
src/wrappers.h
sync/Makefile
sync/devicegroup.fsm
sync/fsm.yml2
sync/functions.ysl2
sync/gen_actions.ysl2
sync/gen_dot.ysl2
sync/gen_statemachine.ysl2
sync/generated/README
sync/generated/sync_driver.c
sync/generated/sync_fsm.c
sync/generated/sync_fsm.h
sync/generated/sync_send_actions.c
sync/skeletons/sync_actions.c
test/0x6FF00E97.asc
test/0x70DCF575.asc
test/0xC9C2EE39.asc
test/6FF00E97_sec.asc
test/70DCF575_sec.asc
test/C9C2EE39_sec.asc
test/Makefile
test/README.txt
test/blacklisted_pub.asc
test/blacklisted_pub2.asc
test/convenience_scripts/DANGER_delete_keys_silently_w_pattern.py
test/convenience_scripts/README
test/convenience_scripts/convert_test_assert.py
test/convenience_scripts/keygen_for_test.py
test/convenience_scripts/mime_decrypt.cc
test/convenience_scripts/mime_encrypt.cc
test/convenience_scripts/mime_encrypt_decrypt.cc
test/convenience_scripts/quickadd_testcalls.py
test/convenience_scripts/temp_convert_script.py
test/gen_pgp_samples.sh
test/genscripts.py
test/gensuitemaker.py
test/gentestshell.py
test/include/AppleMailTests.h
test/include/BCCTests.h
test/include/BlacklistAcceptNewKeyTests.h
test/include/BlacklistTests.h
test/include/BloblistTests.h
test/include/CaseAndDotAddressTests.h
test/include/CheckRenewedExpiredKeyTrustStatusTests.h
test/include/CrashdumpTests.h
test/include/DecorateTests.h
test/include/DecryptAttachPrivateKeyTrustedTests.h
test/include/DecryptAttachPrivateKeyUntrustedTests.h
test/include/EncryptAttachPrivateKeyTests.h
test/include/EncryptForIdentityTests.h
test/include/EncryptMissingPrivateKeyTests.h
test/include/Engine358Tests.h
test/include/Engine463Tests.h
test/include/EngineTestIndividualSuite.h
test/include/EngineTestSessionSuite.h
test/include/EngineTestSuite.h
test/include/ExpiredSubkeyTests.h
test/include/ExternalRevokeTests.h
test/include/HeaderKeyImportTests.h
test/include/I18nTests.h
test/include/IdentityListTests.h
test/include/IntegrityTests.h
test/include/KeyeditTests.h
test/include/LeastColorGroupTests.h
test/include/LeastCommonDenomColorTests.h
test/include/MapAsn1Tests.h
test/include/Message2_0Tests.h
test/include/MessageApiTests.h
test/include/MessageNullFromTests.h
test/include/MessageTwoPointOhTests.h
test/include/MimeTests.h
test/include/MistrustUndoTests.h
test/include/NewUpdateIdAndMyselfTests.h
test/include/PepSubjectReceivedTests.h
test/include/PgpBinaryTests.h
test/include/PgpListKeysTests.h
test/include/ReencryptPlusExtraKeysTests.h
test/include/RevokeRegenAttachTests.h
test/include/SequenceTests.h
test/include/StringlistTests.h
test/include/StringpairListTests.h
test/include/SuiteMaker.h
test/include/TestDriver.h
test/include/TrustManipulationTests.h
test/include/TrustwordsTests.h
test/include/UserIDAliasTests.h
test/include/UserIdCollisionTests.h
test/include/pEpEngine_test.h
test/include/pEpTestOutput.h
test/include/test_util.h
test/msg
test/msg.asc
test/msg1.asc
test/msg2.asc
test/msg3.asc
test/msg_no_key.asc
test/no_key.asc
test/pEpEngineTest.cc
test/pEpEngineTest.vcxproj
test/pgp_mime_msg.txt
test/python_tests/README.md
test/python_tests/conftest.py
test/python_tests/pytest.ini
test/python_tests/test_handshake.py
test/python_tests/transport.py
test/signature.asc
test/src/EngineTestIndividualSuite.cc
test/src/EngineTestSessionSuite.cc
test/src/EngineTestSuite.cc
test/src/SuiteMaker.cc
test/src/TestDriver.cc
test/src/engine_tests/AppleMailTests.cc
test/src/engine_tests/BCCTests.cc
test/src/engine_tests/BlacklistAcceptNewKeyTests.cc
test/src/engine_tests/BlacklistTests.cc
test/src/engine_tests/BloblistTests.cc
test/src/engine_tests/CaseAndDotAddressTests.cc
test/src/engine_tests/CheckRenewedExpiredKeyTrustStatusTests.cc
test/src/engine_tests/CrashdumpTests.cc
test/src/engine_tests/DecorateTests.cc
test/src/engine_tests/DecryptAttachPrivateKeyTrustedTests.cc
test/src/engine_tests/DecryptAttachPrivateKeyUntrustedTests.cc
test/src/engine_tests/EncryptAttachPrivateKeyTests.cc
test/src/engine_tests/EncryptForIdentityTests.cc
test/src/engine_tests/EncryptMissingPrivateKeyTests.cc
test/src/engine_tests/Engine358Tests.cc
test/src/engine_tests/Engine463Tests.cc
test/src/engine_tests/ExpiredSubkeyTests.cc
test/src/engine_tests/ExternalRevokeTests.cc
test/src/engine_tests/HeaderKeyImportTests.cc
test/src/engine_tests/I18nTests.cc
test/src/engine_tests/IdentityListTests.cc
test/src/engine_tests/IntegrityTests.do.not.run.before.ENGINE-434
test/src/engine_tests/KeyeditTests.cc
test/src/engine_tests/LeastColorGroupTests.cc
test/src/engine_tests/LeastCommonDenomColorTests.cc
test/src/engine_tests/MapAsn1Tests.cc
test/src/engine_tests/MessageApiTests.cc
test/src/engine_tests/MessageNullFromTests.cc
test/src/engine_tests/MessageTwoPointOhTests.cc
test/src/engine_tests/MimeTests.cc
test/src/engine_tests/MistrustUndoTests.cc
test/src/engine_tests/NewUpdateIdAndMyselfTests.cc
test/src/engine_tests/PepSubjectReceivedTests.cc
test/src/engine_tests/PgpBinaryTests.cc
test/src/engine_tests/PgpListKeysTests.cc
test/src/engine_tests/ReencryptPlusExtraKeysTests.cc
test/src/engine_tests/RevokeRegenAttachTests.cc
test/src/engine_tests/SequenceTests.cc
test/src/engine_tests/StringlistTests.cc
test/src/engine_tests/StringpairListTests.cc
test/src/engine_tests/TrustManipulationTests.cc
test/src/engine_tests/TrustwordsTests.cc
test/src/engine_tests/UserIDAliasTests.cc
test/src/engine_tests/UserIdCollisionTests.cc
test/src/pEpTestOutput.cc
test/src/util/test_util.cc
test/still_no_key.asc
test/t1.txt
test/t2.txt
test/test_files/427_old_db
test/test_files/432_no_from.eml
test/test_files/432_no_from_2.eml
test/test_files/432_no_from_encrypted_and_signed.eml
test/test_files/432_no_from_encrypted_not_signed.eml
test/test_keys/priv/banmeonce-0x07B29090_priv.asc
test/test_keys/priv/banmetwice-0x4080C3E7_priv.asc
test/test_keys/priv/bcc_test_dude_0-0x1CCCFC41_priv.asc
test/test_keys/priv/bcc_test_dude_1-0xDAC746BE_priv.asc
test/test_keys/priv/bcc_test_dude_2-0x53CECCF7_priv.asc
test/test_keys/priv/bernd.das.brot-0xCAFAA422_priv.asc
test/test_keys/priv/blacklist_self.asc
test/test_keys/priv/eb_0_priv_valid.asc
test/test_keys/priv/eb_0_priv_valid_subk.asc
test/test_keys/priv/eb_0_priv_w_v_enc.asc
test/test_keys/priv/eb_0_sec.asc
test/test_keys/priv/inquisitor-0xA4728718_full_expired.priv.asc
test/test_keys/priv/inquisitor-0xA4728718_renewed_priv.asc
test/test_keys/priv/inquisitor-0xA4728718_subkeys_expired.priv.asc
test/test_keys/priv/integrity_test_recip_0-0xF390A40D_priv.asc
test/test_keys/priv/integrity_test_signer_0-0xFF26631A_priv.asc
test/test_keys/priv/integrity_test_trash_signer_0-0x6A8F15E9_priv.asc
test/test_keys/priv/master_key_test_certify_extended_priv.asc
test/test_keys/priv/mistrust.undo.test-0x39E5DAB5_priv.asc
test/test_keys/priv/notfound-alt-pub_and_private.asc
test/test_keys/priv/pep-test-alice-0x6FF00E97_priv.asc
test/test_keys/priv/pep-test-apple-0x1CCBC7D7_priv.asc
test/test_keys/priv/pep-test-bob-0xC9C2EE39_priv.asc
test/test_keys/priv/pep-test-carol-0x42A85A42_priv.asc
test/test_keys/priv/pep-test-dave-0xBB5BCCF6_priv.asc
test/test_keys/priv/pep-test-erin-0x9F8D7CBA_priv.asc
test/test_keys/priv/pep-test-frank-0x9A7FC670_priv.asc
test/test_keys/priv/pep-test-gabrielle-0xE203586C_priv.asc
test/test_keys/priv/pep-test-john-0x70DCF575_priv.asc
test/test_keys/priv/pep-test-recip-0x08DB0AEE_priv.asc
test/test_keys/priv/pep.color.test.H-0xD17E598E_priv.asc
test/test_keys/priv/pep.color.test.L-0xE9CDB4CE_priv.asc
test/test_keys/priv/pep.color.test.P-0x3EBE215C_priv.asc
test/test_keys/priv/pep.color.test.V-0x271FC6D28_priv.asc
test/test_keys/priv/pep.color.test.V-0x71FC6D28_priv.asc
test/test_keys/priv/pep.never.me.test-0x79C11D1D_priv.asc
test/test_keys/priv/pep.test.alexander-0x26B54E4E_priv.asc
test/test_keys/priv/pep.test.alexander0-0x3B7302DB_priv.asc
test/test_keys/priv/pep.test.alexander1-0x541260F6_priv.asc
test/test_keys/priv/pep.test.alexander2-0xA6512F30_priv.asc
test/test_keys/priv/pep.test.alexander3-0x724B3975_priv.asc
test/test_keys/priv/pep.test.alexander4-0x844B9DCF_priv.asc
test/test_keys/priv/pep.test.alexander5-0x0773CD29_priv.asc
test/test_keys/priv/pep.test.alexander6-0x0019697D_priv.asc
test/test_keys/priv/pep.test.alexander6-0x503B14D8_priv.asc
test/test_keys/priv/pep.test.alexander6-0xA216E95A_priv.asc
test/test_keys/priv/pep.test.alexander6-0xBDA17020_priv.asc
test/test_keys/priv/pep.test.alexander6-0xBDA17020_pub.asc
test/test_keys/priv/pep.test.bella-0xAF516AAE_priv.asc
test/test_keys/priv/pep.test.fenris-0x4F3D2900_priv.asc
test/test_keys/priv/priv-key-import-test-main_0-0x3276D2E5_priv.asc
test/test_keys/priv/priv-key-import-test-main_0-0xC065A213_priv.asc
test/test_keys/priv/priv-key-import-test-main_1-0x80C8CD87_priv.asc
test/test_keys/priv/priv-key-import-test-main_2-0x0B74809C_priv.asc
test/test_keys/priv/priv-key-import-test-other_0-0xD11252C9_priv.asc
test/test_keys/priv/priv-key-import-test-other_1-0xC785F20A_priv.asc
test/test_keys/priv/priv-key-import-test-other_2-0xF26F5504_priv.asc
test/test_keys/priv/reencrypt_extra_keys_0-0x828AA789_priv.asc
test/test_keys/priv/reencrypt_extra_keys_1-0x8B026AEC_priv.asc
test/test_keys/priv/reencrypt_other_recip_0-0x1F4A5986_priv.asc
test/test_keys/priv/reencrypt_other_recip_1-0x0F8273D8_priv.asc
test/test_keys/priv/reencrypt_other_recip_2-0x1EDBE691_priv.asc
test/test_keys/priv/reencrypt_recip_0-0xB1A2BE89_priv.asc
test/test_keys/priv/reencrypt_recip_numero_deux_test_0-0xD6E75FFF_priv.asc
test/test_keys/priv/reencrypt_sender_0-0x3B508C8E_priv.asc
test/test_keys/priv/sercullen-test-0xCEAADED4_priv.asc
test/test_keys/pub/banmeonce-0x07B29090_pub.asc
test/test_keys/pub/banmetwice-0x4080C3E7_pub.asc
test/test_keys/pub/bcc_test_dude_0-0x1CCCFC41_pub.asc
test/test_keys/pub/bcc_test_dude_1-0xDAC746BE_pub.asc
test/test_keys/pub/bcc_test_dude_2-0x53CECCF7_pub.asc
test/test_keys/pub/bernd.das.brot-0xCAFAA422_pub.asc
test/test_keys/pub/blacklist_self_pub.asc
test/test_keys/pub/eb_0_pub.asc
test/test_keys/pub/eb_0_pub_valid_subk.asc
test/test_keys/pub/eb_0_pub_w_v_enc.asc
test/test_keys/pub/eb_0_valid_pub.asc
test/test_keys/pub/fake-schleuder.asc
test/test_keys/pub/inquisitor-0xA4728718_full_expired.pub.asc
test/test_keys/pub/inquisitor-0xA4728718_renewed_pub.asc
test/test_keys/pub/integrity_test_recip_0-0xF390A40D_pub.asc
test/test_keys/pub/integrity_test_signer_0-0xFF26631A_pub.asc
test/test_keys/pub/integrity_test_trash_signer_0-0x6A8F15E9_pub.asc
test/test_keys/pub/master_key_test_certify_extended_pub.asc
test/test_keys/pub/master_key_test_deleted_valid_enc_key_pub.asc
test/test_keys/pub/master_key_test_sign_and_encrypt_added.asc
test/test_keys/pub/mistrust.undo.test-0x39E5DAB5_pub.asc
test/test_keys/pub/pep-test-alice-0x6FF00E97_pub.asc
test/test_keys/pub/pep-test-apple-0x1CCBC7D7_pub.asc
test/test_keys/pub/pep-test-bob-0xC9C2EE39_pub.asc
test/test_keys/pub/pep-test-carol-0x42A85A42_pub.asc
test/test_keys/pub/pep-test-dave-0xBB5BCCF6_pub.asc
test/test_keys/pub/pep-test-erin-0x9F8D7CBA_pub.asc
test/test_keys/pub/pep-test-frank-0x9A7FC670_pub.asc
test/test_keys/pub/pep-test-gabrielle-0xE203586C_pub.asc
test/test_keys/pub/pep-test-john-0x70DCF575_pub.asc
test/test_keys/pub/pep-test-recip-0x08DB0AEE_pub.asc
test/test_keys/pub/pep.color.test.H-0xD17E598E_pub.asc
test/test_keys/pub/pep.color.test.L-0xE9CDB4CE_pub.asc
test/test_keys/pub/pep.color.test.P-0x3EBE215C_pub.asc
test/test_keys/pub/pep.color.test.V-0x71FC6D28_pub.asc
test/test_keys/pub/pep.never.me.test-0x79C11D1D_pub.asc
test/test_keys/pub/pep.test.alexander-0x26B54E4E_pub.asc
test/test_keys/pub/pep.test.alexander0-0x3B7302DB_pub.asc
test/test_keys/pub/pep.test.alexander1-0x541260F6_pub.asc
test/test_keys/pub/pep.test.alexander2-0xA6512F30_pub.asc
test/test_keys/pub/pep.test.alexander3-0x724B3975_pub.asc
test/test_keys/pub/pep.test.alexander4-0x844B9DCF_pub.asc
test/test_keys/pub/pep.test.alexander5-0x0773CD29_pub.asc
test/test_keys/pub/pep.test.alexander6-0x0019697D_pub.asc
test/test_keys/pub/pep.test.alexander6-0x503B14D8_pub.asc
test/test_keys/pub/pep.test.alexander6-0xA216E95A_pub.asc
test/test_keys/pub/pep.test.alexander6-0xBDA17020_pub.asc
test/test_keys/pub/pep.test.bella-0xAF516AAE_pub.asc
test/test_keys/pub/pep.test.fenris-0x4F3D2900_pub.asc
test/test_keys/pub/priv-key-import-test-main_0-0x3276D2E5_pub.asc
test/test_keys/pub/priv-key-import-test-main_0-0xC065A213_pub.asc
test/test_keys/pub/priv-key-import-test-main_1-0x80C8CD87_pub.asc
test/test_keys/pub/priv-key-import-test-main_2-0x0B74809C_pub.asc
test/test_keys/pub/priv-key-import-test-other_0-0xD11252C9_pub.asc
test/test_keys/pub/priv-key-import-test-other_1-0xC785F20A_pub.asc
test/test_keys/pub/priv-key-import-test-other_2-0xF26F5504_pub.asc
test/test_keys/pub/reencrypt_extra_keys_0-0x828AA789_pub.asc
test/test_keys/pub/reencrypt_extra_keys_1-0x8B026AEC_pub.asc
test/test_keys/pub/reencrypt_other_recip_0-0x1F4A5986_pub.asc
test/test_keys/pub/reencrypt_other_recip_1-0x0F8273D8_pub.asc
test/test_keys/pub/reencrypt_other_recip_2-0x1EDBE691_pub.asc
test/test_keys/pub/reencrypt_recip_0-0xB1A2BE89_pub.asc
test/test_keys/pub/reencrypt_recip_numero_deux_test_0-0xD6E75FFF_pub.asc
test/test_keys/pub/reencrypt_sender_0-0x3B508C8E_pub.asc
test/test_keys/pub/sercullen-0x3CEAADED4_pub.asc
test/test_keys/pub/sercullen-test-0xCEAADED4_pub.asc
test/test_mails/ENGINE-463-attempt-numero-dos.eml
test/test_mails/Header_key_import.eml
test/test_mails/Signed PGP_MIME by unknown signer attach.eml
test/test_mails/Signed PGP_MIME by unknown signer no attach.eml
test/test_mails/Signed attached key PGP_MIME.eml
test/test_mails/Signed attached key PGP_MIME_corrupted.eml
test/test_mails/Signed no attach PGP_MIME.eml
test/test_mails/Test_Message_JSON-21_Color_Problems.eml
test/test_mails/Unsigned from PGP_MIME_attach.eml
test/test_mails/Unsigned from PGP_MIME_attach_corrupted.eml
test/test_mails/Unsigned from PGP_MIME_noattach.eml
test/test_mails/Unsigned from PGP_MIME_noattach_corrupted.eml
test/test_mails/alice_bob_encrypt_test_plaintext_mime.eml
test/test_mails/apple_mail_TC_html_signed_encrypted.eml
test/test_mails/apple_mail_TC_signed_encrypted.eml
test/test_mails/blacklist_new_key_attached.eml
test/test_mails/blacklist_no_key.eml
test/test_mails/color_test.eml
test/test_mails/encrypted_signed_w_file_attachment.eml
test/test_mails/encrypted_w_file_attachment.eml
test/test_mails/fake_2.0_good.eml
test/test_mails/fake_2.0_signed_no_key_attached.eml
test/test_mails/fake_2.0_unsigned.eml
test/test_mails/memoryhole_A.eml
test/test_mails/memoryhole_B.eml
test/test_mails/memoryhole_C.eml
test/test_mails/memoryhole_D.eml
test/test_mails/memoryhole_E.eml
test/test_mails/memoryhole_F.eml
test/test_mails/memoryhole_G.eml
test/test_mails/memoryhole_H.eml
test/test_mails/memoryhole_mails_README
test/test_mails/notfound-alt.msg
test/test_mails/p3p_encrypted_subject_IS_pEp_3b.eml
test/test_mails/p3p_subject_normal_1b.eml
test/test_mails/p3p_subject_normal_signed_2b.eml
test/test_mails/pEp_encrypted_subject_IS_pEp_3a.eml
test/test_mails/pEp_subject_normal_1a.eml
test/test_mails/pEp_subject_normal_signed_2a.eml
test/test_mails/pEp_subject_normal_unencrypted_6.eml
test/test_mails/pEp_subject_p3p_replaced_w_p3p_4d.eml
test/test_mails/pEp_subject_p3p_replaced_w_pEp_4c.eml
test/test_mails/pEp_subject_pEp_replaced_w_p3p_4b.eml
test/test_mails/pEp_subject_pEp_replaced_w_pEp_4a.eml
test/test_mails/pEp_unencrypted_p3p_subject_5b.eml
test/test_mails/pEp_unencrypted_pEp_subject_5a.eml
test/test_mails/priv_key_attach.eml
test/test_mails/reencrypt_BCC_sent_by_enigmail.eml
test/test_mails/reencrypt_encrypted_through_pEp.eml
test/test_mails/reencrypt_sent_by_enigmail.eml
test/test_mails/unencrypted_signed_w_file_attachment.eml
test/test_mails/unencrypted_w_CID_and_fname_attachment.eml
test/test_mails/unencrypted_w_CID_attachment.eml
test/test_mails/unencrypted_w_file_attachment.eml
     1.1 --- a/src/keymanagement.c	Wed Oct 24 18:02:32 2018 +0200
     1.2 +++ b/src/keymanagement.c	Wed Oct 31 15:54:46 2018 +0100
     1.3 @@ -1088,6 +1088,7 @@
     1.4                  if (revoked_fpr) {
     1.5                      status = set_revoked(session, revoked_fpr,
     1.6                                           stored_identity->fpr, time(NULL));
     1.7 +                    assert(status == PEP_STATUS_OK);                     
     1.8                  }
     1.9              }
    1.10          }
     2.1 --- a/src/pgp_gpg.c	Wed Oct 24 18:02:32 2018 +0200
     2.2 +++ b/src/pgp_gpg.c	Wed Oct 31 15:54:46 2018 +0100
     2.3 @@ -515,8 +515,6 @@
     2.4                  if (!recipient_keylist) {
     2.5                      gpg.gpgme_data_release(plain);
     2.6                      gpg.gpgme_data_release(cipher);
     2.7 -                    if (recipient_keylist)
     2.8 -                        free_stringlist(recipient_keylist);
     2.9                      return PEP_OUT_OF_MEMORY;
    2.10                  }
    2.11                 
    2.12 @@ -560,7 +558,7 @@
    2.13                              if (!(*filename_ptr))
    2.14                                  result = PEP_OUT_OF_MEMORY;
    2.15                          }
    2.16 -                    }
    2.17 +                    }                    
    2.18                  } /* Ok, so now we have any recipients it was encrypted for
    2.19                       in recipient_keylist */
    2.20              
     3.1 --- a/test/src/SuiteMaker.cc	Wed Oct 24 18:02:32 2018 +0200
     3.2 +++ b/test/src/SuiteMaker.cc	Wed Oct 31 15:54:46 2018 +0100
     3.3 @@ -12,187 +12,187 @@
     3.4  #include "SuiteMaker.h"
     3.5  
     3.6  // Begin where we generate stuff
     3.7 +#include "MessageApiTests.h"
     3.8  #include "DecorateTests.h"
     3.9 +#include "Engine358Tests.h"
    3.10 +#include "StringlistTests.h"
    3.11 +#include "UserIDAliasTests.h"
    3.12 +#include "ReencryptPlusExtraKeysTests.h"
    3.13 +#include "MessageTwoPointOhTests.h"
    3.14 +#include "ExpiredSubkeyTests.h"
    3.15 +#include "PepSubjectReceivedTests.h"
    3.16 +#include "EncryptForIdentityTests.h"
    3.17 +#include "BlacklistTests.h"
    3.18 +#include "CrashdumpTests.h"
    3.19 +#include "EncryptMissingPrivateKeyTests.h"
    3.20 +#include "ExternalRevokeTests.h"
    3.21 +#include "MistrustUndoTests.h"
    3.22 +#include "TrustwordsTests.h"
    3.23 +#include "BloblistTests.h"
    3.24 +#include "EncryptAttachPrivateKeyTests.h"
    3.25 +#include "LeastColorGroupTests.h"
    3.26 +#include "IdentityListTests.h"
    3.27 +#include "SequenceTests.h"
    3.28 +#include "DecryptAttachPrivateKeyTrustedTests.h"
    3.29 +#include "StringpairListTests.h"
    3.30 +#include "LeastCommonDenomColorTests.h"
    3.31 +#include "PgpBinaryTests.h"
    3.32 +#include "AppleMailTests.h"
    3.33 +#include "Engine463Tests.h"
    3.34 +#include "RevokeRegenAttachTests.h"
    3.35 +#include "TrustManipulationTests.h"
    3.36  #include "UserIdCollisionTests.h"
    3.37 -#include "ReencryptPlusExtraKeysTests.h"
    3.38 -#include "BlacklistTests.h"
    3.39 -#include "AppleMailTests.h"
    3.40 -#include "MessageTwoPointOhTests.h"
    3.41 -#include "IdentityListTests.h"
    3.42 +#include "KeyeditTests.h"
    3.43 +#include "CaseAndDotAddressTests.h"
    3.44 +#include "BlacklistAcceptNewKeyTests.h"
    3.45 +#include "HeaderKeyImportTests.h"
    3.46 +#include "BCCTests.h"
    3.47 +#include "NewUpdateIdAndMyselfTests.h"
    3.48 +#include "MapAsn1Tests.h"
    3.49 +#include "CheckRenewedExpiredKeyTrustStatusTests.h"
    3.50  #include "I18nTests.h"
    3.51 -#include "Engine463Tests.h"
    3.52 +#include "MessageNullFromTests.h"
    3.53 +#include "PgpListKeysTests.h"
    3.54  #include "DecryptAttachPrivateKeyUntrustedTests.h"
    3.55 -#include "BCCTests.h"
    3.56 -#include "LeastColorGroupTests.h"
    3.57 -#include "Engine358Tests.h"
    3.58 -#include "MistrustUndoTests.h"
    3.59 -#include "BlacklistAcceptNewKeyTests.h"
    3.60 -#include "MessageApiTests.h"
    3.61 -#include "StringlistTests.h"
    3.62 -#include "HeaderKeyImportTests.h"
    3.63 -#include "StringpairListTests.h"
    3.64 -#include "TrustManipulationTests.h"
    3.65 -#include "EncryptAttachPrivateKeyTests.h"
    3.66 -#include "BloblistTests.h"
    3.67 -#include "SequenceTests.h"
    3.68 -#include "TrustwordsTests.h"
    3.69 -#include "RevokeRegenAttachTests.h"
    3.70 -#include "CheckRenewedExpiredKeyTrustStatusTests.h"
    3.71 -#include "EncryptMissingPrivateKeyTests.h"
    3.72 -#include "PepSubjectReceivedTests.h"
    3.73 -#include "KeyeditTests.h"
    3.74 -#include "MapAsn1Tests.h"
    3.75 -#include "PgpBinaryTests.h"
    3.76 -#include "DecryptAttachPrivateKeyTrustedTests.h"
    3.77 -#include "MessageNullFromTests.h"
    3.78  #include "MimeTests.h"
    3.79 -#include "PgpListKeysTests.h"
    3.80 -#include "NewUpdateIdAndMyselfTests.h"
    3.81 -#include "EncryptForIdentityTests.h"
    3.82 -#include "CrashdumpTests.h"
    3.83 -#include "CaseAndDotAddressTests.h"
    3.84 -#include "ExpiredSubkeyTests.h"
    3.85 -#include "LeastCommonDenomColorTests.h"
    3.86 -#include "ExternalRevokeTests.h"
    3.87 -#include "UserIDAliasTests.h"
    3.88  
    3.89  
    3.90  const char* SuiteMaker::all_suites[] = {
    3.91 +    "MessageApiTests",
    3.92      "DecorateTests",
    3.93 +    "Engine358Tests",
    3.94 +    "StringlistTests",
    3.95 +    "UserIDAliasTests",
    3.96 +    "ReencryptPlusExtraKeysTests",
    3.97 +    "MessageTwoPointOhTests",
    3.98 +    "ExpiredSubkeyTests",
    3.99 +    "PepSubjectReceivedTests",
   3.100 +    "EncryptForIdentityTests",
   3.101 +    "BlacklistTests",
   3.102 +    "CrashdumpTests",
   3.103 +    "EncryptMissingPrivateKeyTests",
   3.104 +    "ExternalRevokeTests",
   3.105 +    "MistrustUndoTests",
   3.106 +    "TrustwordsTests",
   3.107 +    "BloblistTests",
   3.108 +    "EncryptAttachPrivateKeyTests",
   3.109 +    "LeastColorGroupTests",
   3.110 +    "IdentityListTests",
   3.111 +    "SequenceTests",
   3.112 +    "DecryptAttachPrivateKeyTrustedTests",
   3.113 +    "StringpairListTests",
   3.114 +    "LeastCommonDenomColorTests",
   3.115 +    "PgpBinaryTests",
   3.116 +    "AppleMailTests",
   3.117 +    "Engine463Tests",
   3.118 +    "RevokeRegenAttachTests",
   3.119 +    "TrustManipulationTests",
   3.120      "UserIdCollisionTests",
   3.121 -    "ReencryptPlusExtraKeysTests",
   3.122 -    "BlacklistTests",
   3.123 -    "AppleMailTests",
   3.124 -    "MessageTwoPointOhTests",
   3.125 -    "IdentityListTests",
   3.126 +    "KeyeditTests",
   3.127 +    "CaseAndDotAddressTests",
   3.128 +    "BlacklistAcceptNewKeyTests",
   3.129 +    "HeaderKeyImportTests",
   3.130 +    "BCCTests",
   3.131 +    "NewUpdateIdAndMyselfTests",
   3.132 +    "MapAsn1Tests",
   3.133 +    "CheckRenewedExpiredKeyTrustStatusTests",
   3.134      "I18nTests",
   3.135 -    "Engine463Tests",
   3.136 +    "MessageNullFromTests",
   3.137 +    "PgpListKeysTests",
   3.138      "DecryptAttachPrivateKeyUntrustedTests",
   3.139 -    "BCCTests",
   3.140 -    "LeastColorGroupTests",
   3.141 -    "Engine358Tests",
   3.142 -    "MistrustUndoTests",
   3.143 -    "BlacklistAcceptNewKeyTests",
   3.144 -    "MessageApiTests",
   3.145 -    "StringlistTests",
   3.146 -    "HeaderKeyImportTests",
   3.147 -    "StringpairListTests",
   3.148 -    "TrustManipulationTests",
   3.149 -    "EncryptAttachPrivateKeyTests",
   3.150 -    "BloblistTests",
   3.151 -    "SequenceTests",
   3.152 -    "TrustwordsTests",
   3.153 -    "RevokeRegenAttachTests",
   3.154 -    "CheckRenewedExpiredKeyTrustStatusTests",
   3.155 -    "EncryptMissingPrivateKeyTests",
   3.156 -    "PepSubjectReceivedTests",
   3.157 -    "KeyeditTests",
   3.158 -    "MapAsn1Tests",
   3.159 -    "PgpBinaryTests",
   3.160 -    "DecryptAttachPrivateKeyTrustedTests",
   3.161 -    "MessageNullFromTests",
   3.162      "MimeTests",
   3.163 -    "PgpListKeysTests",
   3.164 -    "NewUpdateIdAndMyselfTests",
   3.165 -    "EncryptForIdentityTests",
   3.166 -    "CrashdumpTests",
   3.167 -    "CaseAndDotAddressTests",
   3.168 -    "ExpiredSubkeyTests",
   3.169 -    "LeastCommonDenomColorTests",
   3.170 -    "ExternalRevokeTests",
   3.171 -    "UserIDAliasTests",
   3.172  };
   3.173  
   3.174  // This file is generated, so magic constants are ok.
   3.175  int SuiteMaker::num_suites = 43;
   3.176  
   3.177  void SuiteMaker::suitemaker_build(const char* test_class_name, const char* test_home, Test::Suite** test_suite) {
   3.178 -    if (strcmp(test_class_name, "DecorateTests") == 0)
   3.179 +    if (strcmp(test_class_name, "MessageApiTests") == 0)
   3.180 +        *test_suite = new MessageApiTests(test_class_name, test_home);
   3.181 +    else if (strcmp(test_class_name, "DecorateTests") == 0)
   3.182          *test_suite = new DecorateTests(test_class_name, test_home);
   3.183 +    else if (strcmp(test_class_name, "Engine358Tests") == 0)
   3.184 +        *test_suite = new Engine358Tests(test_class_name, test_home);
   3.185 +    else if (strcmp(test_class_name, "StringlistTests") == 0)
   3.186 +        *test_suite = new StringlistTests(test_class_name, test_home);
   3.187 +    else if (strcmp(test_class_name, "UserIDAliasTests") == 0)
   3.188 +        *test_suite = new UserIDAliasTests(test_class_name, test_home);
   3.189 +    else if (strcmp(test_class_name, "ReencryptPlusExtraKeysTests") == 0)
   3.190 +        *test_suite = new ReencryptPlusExtraKeysTests(test_class_name, test_home);
   3.191 +    else if (strcmp(test_class_name, "MessageTwoPointOhTests") == 0)
   3.192 +        *test_suite = new MessageTwoPointOhTests(test_class_name, test_home);
   3.193 +    else if (strcmp(test_class_name, "ExpiredSubkeyTests") == 0)
   3.194 +        *test_suite = new ExpiredSubkeyTests(test_class_name, test_home);
   3.195 +    else if (strcmp(test_class_name, "PepSubjectReceivedTests") == 0)
   3.196 +        *test_suite = new PepSubjectReceivedTests(test_class_name, test_home);
   3.197 +    else if (strcmp(test_class_name, "EncryptForIdentityTests") == 0)
   3.198 +        *test_suite = new EncryptForIdentityTests(test_class_name, test_home);
   3.199 +    else if (strcmp(test_class_name, "BlacklistTests") == 0)
   3.200 +        *test_suite = new BlacklistTests(test_class_name, test_home);
   3.201 +    else if (strcmp(test_class_name, "CrashdumpTests") == 0)
   3.202 +        *test_suite = new CrashdumpTests(test_class_name, test_home);
   3.203 +    else if (strcmp(test_class_name, "EncryptMissingPrivateKeyTests") == 0)
   3.204 +        *test_suite = new EncryptMissingPrivateKeyTests(test_class_name, test_home);
   3.205 +    else if (strcmp(test_class_name, "ExternalRevokeTests") == 0)
   3.206 +        *test_suite = new ExternalRevokeTests(test_class_name, test_home);
   3.207 +    else if (strcmp(test_class_name, "MistrustUndoTests") == 0)
   3.208 +        *test_suite = new MistrustUndoTests(test_class_name, test_home);
   3.209 +    else if (strcmp(test_class_name, "TrustwordsTests") == 0)
   3.210 +        *test_suite = new TrustwordsTests(test_class_name, test_home);
   3.211 +    else if (strcmp(test_class_name, "BloblistTests") == 0)
   3.212 +        *test_suite = new BloblistTests(test_class_name, test_home);
   3.213 +    else if (strcmp(test_class_name, "EncryptAttachPrivateKeyTests") == 0)
   3.214 +        *test_suite = new EncryptAttachPrivateKeyTests(test_class_name, test_home);
   3.215 +    else if (strcmp(test_class_name, "LeastColorGroupTests") == 0)
   3.216 +        *test_suite = new LeastColorGroupTests(test_class_name, test_home);
   3.217 +    else if (strcmp(test_class_name, "IdentityListTests") == 0)
   3.218 +        *test_suite = new IdentityListTests(test_class_name, test_home);
   3.219 +    else if (strcmp(test_class_name, "SequenceTests") == 0)
   3.220 +        *test_suite = new SequenceTests(test_class_name, test_home);
   3.221 +    else if (strcmp(test_class_name, "DecryptAttachPrivateKeyTrustedTests") == 0)
   3.222 +        *test_suite = new DecryptAttachPrivateKeyTrustedTests(test_class_name, test_home);
   3.223 +    else if (strcmp(test_class_name, "StringpairListTests") == 0)
   3.224 +        *test_suite = new StringpairListTests(test_class_name, test_home);
   3.225 +    else if (strcmp(test_class_name, "LeastCommonDenomColorTests") == 0)
   3.226 +        *test_suite = new LeastCommonDenomColorTests(test_class_name, test_home);
   3.227 +    else if (strcmp(test_class_name, "PgpBinaryTests") == 0)
   3.228 +        *test_suite = new PgpBinaryTests(test_class_name, test_home);
   3.229 +    else if (strcmp(test_class_name, "AppleMailTests") == 0)
   3.230 +        *test_suite = new AppleMailTests(test_class_name, test_home);
   3.231 +    else if (strcmp(test_class_name, "Engine463Tests") == 0)
   3.232 +        *test_suite = new Engine463Tests(test_class_name, test_home);
   3.233 +    else if (strcmp(test_class_name, "RevokeRegenAttachTests") == 0)
   3.234 +        *test_suite = new RevokeRegenAttachTests(test_class_name, test_home);
   3.235 +    else if (strcmp(test_class_name, "TrustManipulationTests") == 0)
   3.236 +        *test_suite = new TrustManipulationTests(test_class_name, test_home);
   3.237      else if (strcmp(test_class_name, "UserIdCollisionTests") == 0)
   3.238          *test_suite = new UserIdCollisionTests(test_class_name, test_home);
   3.239 -    else if (strcmp(test_class_name, "ReencryptPlusExtraKeysTests") == 0)
   3.240 -        *test_suite = new ReencryptPlusExtraKeysTests(test_class_name, test_home);
   3.241 -    else if (strcmp(test_class_name, "BlacklistTests") == 0)
   3.242 -        *test_suite = new BlacklistTests(test_class_name, test_home);
   3.243 -    else if (strcmp(test_class_name, "AppleMailTests") == 0)
   3.244 -        *test_suite = new AppleMailTests(test_class_name, test_home);
   3.245 -    else if (strcmp(test_class_name, "MessageTwoPointOhTests") == 0)
   3.246 -        *test_suite = new MessageTwoPointOhTests(test_class_name, test_home);
   3.247 -    else if (strcmp(test_class_name, "IdentityListTests") == 0)
   3.248 -        *test_suite = new IdentityListTests(test_class_name, test_home);
   3.249 +    else if (strcmp(test_class_name, "KeyeditTests") == 0)
   3.250 +        *test_suite = new KeyeditTests(test_class_name, test_home);
   3.251 +    else if (strcmp(test_class_name, "CaseAndDotAddressTests") == 0)
   3.252 +        *test_suite = new CaseAndDotAddressTests(test_class_name, test_home);
   3.253 +    else if (strcmp(test_class_name, "BlacklistAcceptNewKeyTests") == 0)
   3.254 +        *test_suite = new BlacklistAcceptNewKeyTests(test_class_name, test_home);
   3.255 +    else if (strcmp(test_class_name, "HeaderKeyImportTests") == 0)
   3.256 +        *test_suite = new HeaderKeyImportTests(test_class_name, test_home);
   3.257 +    else if (strcmp(test_class_name, "BCCTests") == 0)
   3.258 +        *test_suite = new BCCTests(test_class_name, test_home);
   3.259 +    else if (strcmp(test_class_name, "NewUpdateIdAndMyselfTests") == 0)
   3.260 +        *test_suite = new NewUpdateIdAndMyselfTests(test_class_name, test_home);
   3.261 +    else if (strcmp(test_class_name, "MapAsn1Tests") == 0)
   3.262 +        *test_suite = new MapAsn1Tests(test_class_name, test_home);
   3.263 +    else if (strcmp(test_class_name, "CheckRenewedExpiredKeyTrustStatusTests") == 0)
   3.264 +        *test_suite = new CheckRenewedExpiredKeyTrustStatusTests(test_class_name, test_home);
   3.265      else if (strcmp(test_class_name, "I18nTests") == 0)
   3.266          *test_suite = new I18nTests(test_class_name, test_home);
   3.267 -    else if (strcmp(test_class_name, "Engine463Tests") == 0)
   3.268 -        *test_suite = new Engine463Tests(test_class_name, test_home);
   3.269 +    else if (strcmp(test_class_name, "MessageNullFromTests") == 0)
   3.270 +        *test_suite = new MessageNullFromTests(test_class_name, test_home);
   3.271 +    else if (strcmp(test_class_name, "PgpListKeysTests") == 0)
   3.272 +        *test_suite = new PgpListKeysTests(test_class_name, test_home);
   3.273      else if (strcmp(test_class_name, "DecryptAttachPrivateKeyUntrustedTests") == 0)
   3.274          *test_suite = new DecryptAttachPrivateKeyUntrustedTests(test_class_name, test_home);
   3.275 -    else if (strcmp(test_class_name, "BCCTests") == 0)
   3.276 -        *test_suite = new BCCTests(test_class_name, test_home);
   3.277 -    else if (strcmp(test_class_name, "LeastColorGroupTests") == 0)
   3.278 -        *test_suite = new LeastColorGroupTests(test_class_name, test_home);
   3.279 -    else if (strcmp(test_class_name, "Engine358Tests") == 0)
   3.280 -        *test_suite = new Engine358Tests(test_class_name, test_home);
   3.281 -    else if (strcmp(test_class_name, "MistrustUndoTests") == 0)
   3.282 -        *test_suite = new MistrustUndoTests(test_class_name, test_home);
   3.283 -    else if (strcmp(test_class_name, "BlacklistAcceptNewKeyTests") == 0)
   3.284 -        *test_suite = new BlacklistAcceptNewKeyTests(test_class_name, test_home);
   3.285 -    else if (strcmp(test_class_name, "MessageApiTests") == 0)
   3.286 -        *test_suite = new MessageApiTests(test_class_name, test_home);
   3.287 -    else if (strcmp(test_class_name, "StringlistTests") == 0)
   3.288 -        *test_suite = new StringlistTests(test_class_name, test_home);
   3.289 -    else if (strcmp(test_class_name, "HeaderKeyImportTests") == 0)
   3.290 -        *test_suite = new HeaderKeyImportTests(test_class_name, test_home);
   3.291 -    else if (strcmp(test_class_name, "StringpairListTests") == 0)
   3.292 -        *test_suite = new StringpairListTests(test_class_name, test_home);
   3.293 -    else if (strcmp(test_class_name, "TrustManipulationTests") == 0)
   3.294 -        *test_suite = new TrustManipulationTests(test_class_name, test_home);
   3.295 -    else if (strcmp(test_class_name, "EncryptAttachPrivateKeyTests") == 0)
   3.296 -        *test_suite = new EncryptAttachPrivateKeyTests(test_class_name, test_home);
   3.297 -    else if (strcmp(test_class_name, "BloblistTests") == 0)
   3.298 -        *test_suite = new BloblistTests(test_class_name, test_home);
   3.299 -    else if (strcmp(test_class_name, "SequenceTests") == 0)
   3.300 -        *test_suite = new SequenceTests(test_class_name, test_home);
   3.301 -    else if (strcmp(test_class_name, "TrustwordsTests") == 0)
   3.302 -        *test_suite = new TrustwordsTests(test_class_name, test_home);
   3.303 -    else if (strcmp(test_class_name, "RevokeRegenAttachTests") == 0)
   3.304 -        *test_suite = new RevokeRegenAttachTests(test_class_name, test_home);
   3.305 -    else if (strcmp(test_class_name, "CheckRenewedExpiredKeyTrustStatusTests") == 0)
   3.306 -        *test_suite = new CheckRenewedExpiredKeyTrustStatusTests(test_class_name, test_home);
   3.307 -    else if (strcmp(test_class_name, "EncryptMissingPrivateKeyTests") == 0)
   3.308 -        *test_suite = new EncryptMissingPrivateKeyTests(test_class_name, test_home);
   3.309 -    else if (strcmp(test_class_name, "PepSubjectReceivedTests") == 0)
   3.310 -        *test_suite = new PepSubjectReceivedTests(test_class_name, test_home);
   3.311 -    else if (strcmp(test_class_name, "KeyeditTests") == 0)
   3.312 -        *test_suite = new KeyeditTests(test_class_name, test_home);
   3.313 -    else if (strcmp(test_class_name, "MapAsn1Tests") == 0)
   3.314 -        *test_suite = new MapAsn1Tests(test_class_name, test_home);
   3.315 -    else if (strcmp(test_class_name, "PgpBinaryTests") == 0)
   3.316 -        *test_suite = new PgpBinaryTests(test_class_name, test_home);
   3.317 -    else if (strcmp(test_class_name, "DecryptAttachPrivateKeyTrustedTests") == 0)
   3.318 -        *test_suite = new DecryptAttachPrivateKeyTrustedTests(test_class_name, test_home);
   3.319 -    else if (strcmp(test_class_name, "MessageNullFromTests") == 0)
   3.320 -        *test_suite = new MessageNullFromTests(test_class_name, test_home);
   3.321      else if (strcmp(test_class_name, "MimeTests") == 0)
   3.322          *test_suite = new MimeTests(test_class_name, test_home);
   3.323 -    else if (strcmp(test_class_name, "PgpListKeysTests") == 0)
   3.324 -        *test_suite = new PgpListKeysTests(test_class_name, test_home);
   3.325 -    else if (strcmp(test_class_name, "NewUpdateIdAndMyselfTests") == 0)
   3.326 -        *test_suite = new NewUpdateIdAndMyselfTests(test_class_name, test_home);
   3.327 -    else if (strcmp(test_class_name, "EncryptForIdentityTests") == 0)
   3.328 -        *test_suite = new EncryptForIdentityTests(test_class_name, test_home);
   3.329 -    else if (strcmp(test_class_name, "CrashdumpTests") == 0)
   3.330 -        *test_suite = new CrashdumpTests(test_class_name, test_home);
   3.331 -    else if (strcmp(test_class_name, "CaseAndDotAddressTests") == 0)
   3.332 -        *test_suite = new CaseAndDotAddressTests(test_class_name, test_home);
   3.333 -    else if (strcmp(test_class_name, "ExpiredSubkeyTests") == 0)
   3.334 -        *test_suite = new ExpiredSubkeyTests(test_class_name, test_home);
   3.335 -    else if (strcmp(test_class_name, "LeastCommonDenomColorTests") == 0)
   3.336 -        *test_suite = new LeastCommonDenomColorTests(test_class_name, test_home);
   3.337 -    else if (strcmp(test_class_name, "ExternalRevokeTests") == 0)
   3.338 -        *test_suite = new ExternalRevokeTests(test_class_name, test_home);
   3.339 -    else if (strcmp(test_class_name, "UserIDAliasTests") == 0)
   3.340 -        *test_suite = new UserIDAliasTests(test_class_name, test_home);
   3.341  }
   3.342  
   3.343  void SuiteMaker::suitemaker_buildlist(const char** test_class_names, int num_to_run, const char* test_home, std::vector<Test::Suite*>& test_suites) {
     4.1 --- a/test/src/engine_tests/DecorateTests.cc	Wed Oct 24 18:02:32 2018 +0200
     4.2 +++ b/test/src/engine_tests/DecorateTests.cc	Wed Oct 31 15:54:46 2018 +0100
     4.3 @@ -21,9 +21,9 @@
     4.4  
     4.5  using namespace std;
     4.6  
     4.7 -DecorateTests::DecorateTests(string suitename, string test_home_dir) : 
     4.8 -    EngineTestSessionSuite::EngineTestSessionSuite(suitename, test_home_dir) {               
     4.9 -    add_test_to_suite(std::pair<std::string, void (Test::Suite::*)()>(string("DecorateTests::check_decorate"), 
    4.10 +DecorateTests::DecorateTests(string suitename, string test_home_dir) :
    4.11 +    EngineTestSessionSuite::EngineTestSessionSuite(suitename, test_home_dir) {
    4.12 +    add_test_to_suite(std::pair<std::string, void (Test::Suite::*)()>(string("DecorateTests::check_decorate"),
    4.13                                                                        static_cast<Func>(&DecorateTests::check_decorate)));
    4.14  }
    4.15  
    4.16 @@ -41,6 +41,11 @@
    4.17  
    4.18      cout << "creating message…\n";
    4.19      pEp_identity* alice = new_identity("pep.test.alice@pep-project.org", NULL, PEP_OWN_USERID, "Alice Test");
    4.20 +    pEp_identity* alice_dup = identity_dup(alice);
    4.21 +    PEP_STATUS status = set_own_key(session, alice_dup, "4ABE3AAF59AC32CFE4F86500A9411D176FF00E97");
    4.22 +    TEST_ASSERT(status == PEP_STATUS_OK);
    4.23 +    free_identity(alice_dup);
    4.24 +
    4.25      pEp_identity* bob = new_identity("pep.test.bob@pep-project.org", NULL, "42", "Bob Test");
    4.26      alice->me = true;
    4.27      identity_list* to_list = new_identity_list(bob); // to bob
    4.28 @@ -58,21 +63,21 @@
    4.29  
    4.30      message* encrypted_msg = nullptr;
    4.31      cout << "calling encrypt_message\n";
    4.32 -    PEP_STATUS status = encrypt_message (session, outgoing_message, NULL, &encrypted_msg, PEP_enc_PGP_MIME, 0);
    4.33 +    status = encrypt_message (session, outgoing_message, NULL, &encrypted_msg, PEP_enc_PGP_MIME, 0);
    4.34      cout << "encrypt_message() returns " << tl_status_string(status) << '.' << endl;
    4.35      TEST_ASSERT_MSG((status == PEP_STATUS_OK), "status == PEP_STATUS_OK");
    4.36      TEST_ASSERT_MSG((encrypted_msg), "encrypted_msg");
    4.37      cout << "message encrypted.\n";
    4.38 -    
    4.39 +
    4.40      status = mime_encode_message(encrypted_msg, false, &encoded_text);
    4.41      TEST_ASSERT_MSG((status == PEP_STATUS_OK), "status == PEP_STATUS_OK");
    4.42      TEST_ASSERT_MSG((encoded_text), "encoded_text");
    4.43 -    
    4.44 +
    4.45      bool contains_version = false;
    4.46 -    
    4.47 +
    4.48      const char* version_str = "X-pEp-Version: ";
    4.49      size_t version_prefix_len = strlen(version_str);
    4.50 -    
    4.51 +
    4.52      istringstream f(encoded_text);
    4.53      string enc_string;
    4.54      while (getline(f, enc_string)) {
    4.55 @@ -80,7 +85,7 @@
    4.56              contains_version = true;
    4.57      }
    4.58      TEST_ASSERT_MSG((contains_version), "contains_version");
    4.59 -    
    4.60 +
    4.61      if (contains_version)
    4.62 -        cout << "Version string in encrypted message, as it should be." << endl;    
    4.63 +        cout << "Version string in encrypted message, as it should be." << endl;
    4.64  }