safeword => trustword in test
authorVolker Birk <vb@pep-project.org>
Fri, 01 May 2015 11:37:38 +0200
changeset 2346904a5742e86
parent 233 26383354c776
child 235 8b7468ca8034
safeword => trustword in test
test/pEpEngineTest.cc
     1.1 --- a/test/pEpEngineTest.cc	Fri May 01 11:35:09 2015 +0200
     1.2 +++ b/test/pEpEngineTest.cc	Fri May 01 11:37:38 2015 +0200
     1.3 @@ -140,19 +140,19 @@
     1.4      delete[] sig_buffer;
     1.5      delete[] t2_buffer;
     1.6  
     1.7 -	cout << "\nfinding English safeword for 2342...\n";
     1.8 +	cout << "\nfinding English trustword for 2342...\n";
     1.9  	char * word;
    1.10  	size_t wsize;
    1.11 -	safeword(session, 2342, "en", &word, &wsize);
    1.12 +	trustword(session, 2342, "en", &word, &wsize);
    1.13  	assert(word);
    1.14 -	cout << "the safeword for 2342 is " << word << "\n";
    1.15 +	cout << "the trustword for 2342 is " << word << "\n";
    1.16      pEp_free(word);
    1.17  
    1.18      string fingerprint = "4942 2235 FC99 585B 891C  6653 0C7B 109B FA72 61F7";
    1.19      char * words;
    1.20  
    1.21 -    cout << "\nfinding German safewords for " << fingerprint << "...\n";
    1.22 -    safewords(session, fingerprint.c_str(), "de", &words, &wsize, 5);
    1.23 +    cout << "\nfinding German trustwords for " << fingerprint << "...\n";
    1.24 +    trustwords(session, fingerprint.c_str(), "de", &words, &wsize, 5);
    1.25      assert(words);
    1.26      cout << words << "\n";
    1.27      pEp_free(words);