GateKeeper.cpp
changeset 113 b1bcfae25d26
parent 112 288c0ee0d916
child 116 967ed8d930c1
     1.1 --- a/GateKeeper.cpp	Tue Jun 21 22:54:19 2016 +0200
     1.2 +++ b/GateKeeper.cpp	Wed Jun 22 00:01:43 2016 +0200
     1.3 @@ -82,7 +82,7 @@
     1.4          while (!_self->m_bComInitialized)
     1.5              Sleep(1);
     1.6  
     1.7 -        MessageBox(NULL, _T("test"), _T("keep_plugin"), MB_ICONINFORMATION | MB_TOPMOST);
     1.8 +        // MessageBox(NULL, _T("test"), _T("keep_plugin"), MB_ICONINFORMATION | MB_TOPMOST);
     1.9  
    1.10          DWORD value;
    1.11          DWORD size;
    1.12 @@ -128,8 +128,19 @@
    1.13  
    1.14          uniform_int_distribution<time_t> dist(0, UINT64_MAX);
    1.15  
    1.16 -        key.ll_key[0] = dist(gen);
    1.17 -        key.ll_key[1] = dist(gen);
    1.18 +        key.qw_key[0] = dist(gen);
    1.19 +        key.qw_key[1] = dist(gen);
    1.20 +
    1.21 +        return key;
    1.22 +    }
    1.23 +
    1.24 +    string GateKeeper::wrapped_delivery_key(aeskey_t key)
    1.25 +    {
    1.26 +        string result;
    1.27 +
    1.28 +        // ...
    1.29 +
    1.30 +        return result;
    1.31      }
    1.32  
    1.33      GateKeeper::product_list& GateKeeper::registered_products()