adding pEp-auto-consume header to encrypted p≡p Sync messages sync
authorVolker Birk <vb@pep-project.org>
Mon, 15 Jul 2019 11:43:10 +0200
branchsync
changeset 3924a361d47fe7be
parent 3922 a2ebf83845c9
child 3925 6aae202ba5f1
child 3927 fd89f666f4e4
adding pEp-auto-consume header to encrypted p≡p Sync messages
sync/gen_statemachine.ysl2
test/src/SuiteMaker.cc
     1.1 --- a/sync/gen_statemachine.ysl2	Tue Jul 09 12:54:10 2019 +0200
     1.2 +++ b/sync/gen_statemachine.ysl2	Mon Jul 15 11:43:10 2019 +0200
     1.3 @@ -552,6 +552,7 @@
     1.4                                  status = PEP_«yml:ucase(@name)»_CANNOT_ENCRYPT;
     1.5                                  goto the_end;
     1.6                              }
     1.7 +                            add_opt_field(m, "pEp-auto-consume", "yes");
     1.8                              free_message(_m);
     1.9                              break;
    1.10  
    1.11 @@ -729,6 +730,7 @@
    1.12                                  status = PEP_«yml:ucase(@name)»_CANNOT_ENCRYPT;
    1.13                                  goto the_end;
    1.14                              }
    1.15 +                            add_opt_field(m, "pEp-auto-consume", "yes");
    1.16                              free_message(_m);
    1.17                              break;
    1.18  
    1.19 @@ -752,6 +754,7 @@
    1.20                                  status = PEP_«yml:ucase(@name)»_CANNOT_ENCRYPT;
    1.21                                  goto the_end;
    1.22                              }
    1.23 +                            add_opt_field(m, "pEp-auto-consume", "yes");
    1.24                              free_message(_m);
    1.25                      }
    1.26  
     2.1 --- a/test/src/SuiteMaker.cc	Tue Jul 09 12:54:10 2019 +0200
     2.2 +++ b/test/src/SuiteMaker.cc	Mon Jul 15 11:43:10 2019 +0200
     2.3 @@ -21,7 +21,6 @@
     2.4  #include "Engine463Tests.h"
     2.5  #include "IOS1664Tests.h"
     2.6  #include "BloblistTests.h"
     2.7 -#include "KeyImportAndRetrieveTests.h"
     2.8  #include "NewUpdateIdAndMyselfTests.h"
     2.9  #include "NoOwnIdentWritesOnDecryptTests.h"
    2.10  #include "LiteralFilenameTests.h"
    2.11 @@ -30,7 +29,6 @@
    2.12  #include "PgpBinaryTests.h"
    2.13  #include "SubkeyRatingEvalTests.h"
    2.14  #include "MessageNullFromTests.h"
    2.15 -#include "Engine587Tests.h"
    2.16  #include "ExportKeyTests.h"
    2.17  #include "LeastCommonDenomColorTests.h"
    2.18  #include "StringlistTests.h"
    2.19 @@ -89,7 +87,6 @@
    2.20      "Engine463Tests",
    2.21      "IOS1664Tests",
    2.22      "BloblistTests",
    2.23 -    "KeyImportAndRetrieveTests",
    2.24      "NewUpdateIdAndMyselfTests",
    2.25      "NoOwnIdentWritesOnDecryptTests",
    2.26      "LiteralFilenameTests",
    2.27 @@ -98,7 +95,6 @@
    2.28      "PgpBinaryTests",
    2.29      "SubkeyRatingEvalTests",
    2.30      "MessageNullFromTests",
    2.31 -    "Engine587Tests",
    2.32      "ExportKeyTests",
    2.33      "LeastCommonDenomColorTests",
    2.34      "StringlistTests",
    2.35 @@ -148,7 +144,7 @@
    2.36  };
    2.37  
    2.38  // This file is generated, so magic constants are ok.
    2.39 -int SuiteMaker::num_suites = 65;
    2.40 +int SuiteMaker::num_suites = 63;
    2.41  
    2.42  void SuiteMaker::suitemaker_build(const char* test_class_name, const char* test_home, Test::Suite** test_suite) {
    2.43      if (strcmp(test_class_name, "URIAddressTests") == 0)
    2.44 @@ -169,8 +165,6 @@
    2.45          *test_suite = new IOS1664Tests(test_class_name, test_home);
    2.46      else if (strcmp(test_class_name, "BloblistTests") == 0)
    2.47          *test_suite = new BloblistTests(test_class_name, test_home);
    2.48 -    else if (strcmp(test_class_name, "KeyImportAndRetrieveTests") == 0)
    2.49 -        *test_suite = new KeyImportAndRetrieveTests(test_class_name, test_home);
    2.50      else if (strcmp(test_class_name, "NewUpdateIdAndMyselfTests") == 0)
    2.51          *test_suite = new NewUpdateIdAndMyselfTests(test_class_name, test_home);
    2.52      else if (strcmp(test_class_name, "NoOwnIdentWritesOnDecryptTests") == 0)
    2.53 @@ -187,8 +181,6 @@
    2.54          *test_suite = new SubkeyRatingEvalTests(test_class_name, test_home);
    2.55      else if (strcmp(test_class_name, "MessageNullFromTests") == 0)
    2.56          *test_suite = new MessageNullFromTests(test_class_name, test_home);
    2.57 -    else if (strcmp(test_class_name, "Engine587Tests") == 0)
    2.58 -        *test_suite = new Engine587Tests(test_class_name, test_home);
    2.59      else if (strcmp(test_class_name, "ExportKeyTests") == 0)
    2.60          *test_suite = new ExportKeyTests(test_class_name, test_home);
    2.61      else if (strcmp(test_class_name, "LeastCommonDenomColorTests") == 0)