GateKeeper.cpp
branchCOM-115
changeset 429 2e8e6705baa0
parent 428 59bc6114c932
child 431 efc312323081
     1.1 --- a/GateKeeper.cpp	Thu Jul 02 22:47:58 2020 +0200
     1.2 +++ b/GateKeeper.cpp	Fri Jul 03 00:31:34 2020 +0200
     1.3 @@ -2,7 +2,6 @@
     1.4  
     1.5  #include "GateKeeper.h"
     1.6  #include "pEpCOMServerAdapter.h"
     1.7 -#include "utf8_helper.h"
     1.8  
     1.9  using namespace std;
    1.10  
    1.11 @@ -183,7 +182,7 @@
    1.12              if (now > next) {
    1.13                  next = now + GateKeeper::cycle;
    1.14                  if (update_enabled())
    1.15 -                    keep_updated();
    1.16 +                    update_now();
    1.17              }
    1.18  
    1.19              Sleep(waiting);
    1.20 @@ -610,7 +609,7 @@
    1.21          return result;
    1.22      }
    1.23  
    1.24 -    void GateKeeper::keep_updated()
    1.25 +    void GateKeeper::update_now()
    1.26      {
    1.27          NTSTATUS status = BCryptOpenAlgorithmProvider(&hAES, BCRYPT_AES_ALGORITHM, MS_PRIMITIVE_PROVIDER, 0);
    1.28          assert(status == 0);