Sfoglia il codice sorgente

Removing debug printfs from storage

Sajin Sasy 1 anno fa
parent
commit
4a93e08dd4
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  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");