 diff -Nur -x '*.png' -x '*.gif' -x .gitignore QuoteGeneration/quote_wrapper/quote/qe_logic.cpp QuoteGeneration/quote_wrapper/quote/qe_logic.cpp
 --- QuoteGeneration/quote_wrapper/quote/qe_logic.cpp
 +++ QuoteGeneration/quote_wrapper/quote/qe_logic.cpp
-@@ -162,6 +162,8 @@
+@@ -66,9 +66,11 @@
+     #define SGX_QL_QUOTE_CONFIG_LIB_FILE_NAME "libdcap_quoteprov.so"
+     #define TCHAR char
+     #define _T(x) (x)
++    #define PATH_SEPARATOR '/'
+ #else
+     #define QE3_ENCLAVE_NAME _T("qe3.signed.dll")
+     #define SGX_QL_QUOTE_CONFIG_LIB_FILE_NAME "dcap_quoteprov.dll"
++    #define PATH_SEPARATOR '\\'
+ #endif
+ #define ECDSA_BLOB_LABEL "ecdsa_data.blob"
+ 
+@@ -162,6 +164,8 @@
      se_mutex_t m_ecdsa_blob_mutex;
  
      sgx_ql_request_policy_t m_load_policy;

 
 #ifdef ENABLE_QE3_LOGGING
 /* OCall functions for debug */
@@ -429,24 +435,38 @@
     if(!p_file_name || !p_file_path) {
         return false;
     }

+        SE_TRACE(SE_TRACE_ERROR, "Failed to unlock mutex.\n");
+        refqt_ret = SGX_QL_ERROR_UNEXPECTED;
+    }
+    pce_error = sgx_set_pce_enclave_dirpath(dirpath_copy);
+    if (SGX_PCE_SUCCESS != pce_error) {
+        refqt_ret = translate_pce_errors(pce_error);
+        goto CLEANUP;
