test/src/util/test_util.cc
branchENGINE-448
changeset 3254 6e7f6bc9460a
parent 2995 6f2f9a7c060e
child 3270 d8aea79654c3
child 3277 fe1e94372261
     1.1 --- a/test/src/util/test_util.cc	Mon Jan 28 14:04:12 2019 +0100
     1.2 +++ b/test/src/util/test_util.cc	Tue Jan 29 19:19:30 2019 +0100
     1.3 @@ -338,7 +338,7 @@
     1.4  
     1.5  bool slurp_and_import_key(PEP_SESSION session, const char* key_filename) {
     1.6      std::string keyfile = slurp(key_filename);
     1.7 -    if (import_key(session, keyfile.c_str(), keyfile.size(), NULL) != PEP_STATUS_OK)
     1.8 +    if (import_key(session, keyfile.c_str(), keyfile.size(), NULL) != PEP_KEY_IMPORTED)
     1.9          return false;
    1.10      return true;
    1.11  }
    1.12 @@ -372,4 +372,3 @@
    1.13      
    1.14      return retval;
    1.15  }
    1.16 -