Skip to content

Commit

Permalink
update Simulator provider creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraith2 committed Mar 5, 2021
1 parent 22284c5 commit 3bd45fb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ private SqlColumnEncryptionEnclaveProvider GetEnclaveProvider(SqlConnectionAttes
#if ENCLAVE_SIMULATOR
case SqlConnectionAttestationProtocol.SIM:
SimulatorEnclaveProvider simulatorEnclaveProvider = new SimulatorEnclaveProvider();
EnclaveProviders[attestationProtocol] = (SqlColumnEncryptionEnclaveProvider)simulatorEnclaveProvider;
sqlColumnEncryptionEnclaveProvider = EnclaveProviders[attestationProtocol];
s_enclaveProviders[attestationProtocol] = (SqlColumnEncryptionEnclaveProvider)simulatorEnclaveProvider;
sqlColumnEncryptionEnclaveProvider = s_enclaveProviders[attestationProtocol];
break;
#endif

Expand Down

0 comments on commit 3bd45fb

Please sign in to comment.