test/blacklist_test.cc
changeset 1503 0f86dbd30df1
parent 1449 c4874b0a2501
child 1505 6fdd515a8ff3
child 1515 a4ac7c1c53d7
     1.1 --- a/test/blacklist_test.cc	Tue Dec 20 11:24:15 2016 +0100
     1.2 +++ b/test/blacklist_test.cc	Tue Dec 20 14:21:00 2016 +0100
     1.3 @@ -125,14 +125,15 @@
     1.4                                                          NULL,
     1.5                                                         "Blacklist Keypair");
     1.6      PEP_STATUS status15 = update_identity(session, blacklisted_identity2);
     1.7 -    PEP_STATUS status12 = blacklist_delete(session, bl_fpr_1);
     1.8 -    PEP_STATUS status13 = update_identity(session, blacklisted_identity);
     1.9  
    1.10      if (strcmp(blacklisted_identity->fpr, bl_fpr_2))
    1.11          cout << "blacklisted identity's fpr successfully replaced by the unblacklisted one" << endl;
    1.12      else
    1.13          cout << "blacklisted_identity->fpr should be " << bl_fpr_2 << " but is " << blacklisted_identity->fpr << endl;
    1.14 -            
    1.15 +    
    1.16 +    PEP_STATUS status12 = blacklist_delete(session, bl_fpr_1);
    1.17 +    PEP_STATUS status13 = update_identity(session, blacklisted_identity);
    1.18 +        
    1.19      pEp_identity* stored_identity = new_identity("blacklistedkeys@kgrothoff.org",
    1.20                                                    NULL,
    1.21                                                    blacklisted_identity->user_id,