Skip to content

Commit

Permalink
Rename API following update in the SDK.
Browse files Browse the repository at this point in the history
Signed-off-by: Juan del Cuvillo <juan.b.del.cuvillo@intel.com>
  • Loading branch information
jbdelcuv committed Dec 16, 2024
1 parent a3b9f47 commit 3ead21b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Linux/sgx/fips_test/trusted/enclave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ int enclave_fips_test()

#ifdef SGXSSL_FIPS
/* Call tRTS API to get address of the FIPS provider init function */
entry = get_ossl_fips_sym("OSSL_provider_init");
entry = sgx_get_ossl_fips_sym("OSSL_provider_init");
if (NULL == entry)
{
PRINT_ERROR("FIPS provider init function (OSSL_provider_init) address not found\n");
Expand Down
2 changes: 1 addition & 1 deletion Linux/sgx/test_app/enclave/TestEnclave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ void t_sgxssl_call_apis()
#ifndef SGXSSL_FIPS
prov = OSSL_PROVIDER_load(NULL, "default");
#else
void *entry = get_ossl_fips_sym("OSSL_provider_init");
void *entry = sgx_get_ossl_fips_sym("OSSL_provider_init");

if (!entry )
{
Expand Down

0 comments on commit 3ead21b

Please sign in to comment.