Переглянути джерело

Removing debug printfs from storage

Sajin Sasy 1 рік тому
батько
коміт
4a93e08dd4
1 змінених файлів з 0 додано та 4 видалено
  1. 0 4
      Enclave/storage.cpp

+ 0 - 4
Enclave/storage.cpp

@@ -392,15 +392,11 @@ void storage_received(MsgBuffer &storage_buf)
 
 bool ecall_storage_authenticate(clientid_t cid, unsigned char *auth_message)
 {
-    printf("In ecall_storage_authenticate!\n");
     bool ret = false;
     uint32_t lcid = cid / g_teems_config.num_storage_nodes;
     const sgx_aes_gcm_128bit_key_t *ckey = &(clients[lcid].key);
 
-    printf("In Enc/Stg::auth: invoked on cid = %d, lcid = %d\n", cid, lcid);
-
     ret = authenticateClient(auth_message, ckey);
-    printf("After authenticateClient, ret = %d\n", ret);
 
     if(!ret) {
         printf("Storage authentication FAIL\n");