fixed test case for netpgp, which uses lowercase fpr ENGINE-73
authorKrista Grothoff <krista@pep-project.org>
Mon, 22 Aug 2016 17:03:40 +0200
branchENGINE-73
changeset 1049d35c550050e0
parent 1040 f12bbff0d6b4
child 1050 a73bf9737993
fixed test case for netpgp, which uses lowercase fpr
test/encrypt_for_identity_test.cc
     1.1 --- a/test/encrypt_for_identity_test.cc	Fri Aug 19 11:13:38 2016 +0200
     1.2 +++ b/test/encrypt_for_identity_test.cc	Mon Aug 22 17:03:40 2016 +0200
     1.3 @@ -90,7 +90,7 @@
     1.4      for (stringlist_t* kl4 = keylist_used; kl4 && kl4->value; kl4 = kl4->next)
     1.5      {
     1.6          cout << "\t " << kl4->value << endl;
     1.7 -        assert(strcmp("4ABE3AAF59AC32CFE4F86500A9411D176FF00E97", kl4->value) == 0);
     1.8 +        assert(strcasecmp("4ABE3AAF59AC32CFE4F86500A9411D176FF00E97", kl4->value) == 0);
     1.9          cout << "Encrypted for Alice! Yay! It worked!" << endl;
    1.10      }
    1.11      cout << "Encrypted ONLY for Alice! Test passed. Move along. These are not the bugs you are looking for." << endl;