You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to port the example prov_dev_client_II_sample to get the symmetric key method working. If I understand well, I don't need any certificates with this method so I removed CFLAGS += -DSET_TRUSTED_CERT_IN_SAMPLES in the component file and replaced it with CFLAGS += -DHSM_TYPE_SYMM_KEY -DUSE_PROV_CLIENT
But I still got the following error: prov_dev_client_ll_sample/build/main\libmain.a(custom_hsm_x509.o):(.literal.custom_hsm_create+0x4): undefined reference to '_binary_leaf_certificate_pem_start' prov_dev_client_ll_sample/build/main\libmain.a(custom_hsm_x509.o):(.literal.custom_hsm_create+0x8): undefined reference to '_binary_leaf_private_key_pem_start' collect2.exe: error: ld returned 1 exit status make: *** [C:/msys32/home/clement.cres/esp/esp-idf/make/project.mk:461:prov_dev_client_ll_sample/build/prov_dev_client_ll_sample.elf] Error 1
Did I miss something?
Thank you,
Best regards
Clement
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to port the example
prov_dev_client_II_sample
to get the symmetric key method working. If I understand well, I don't need any certificates with this method so I removedCFLAGS += -DSET_TRUSTED_CERT_IN_SAMPLES
in the component file and replaced it withCFLAGS += -DHSM_TYPE_SYMM_KEY -DUSE_PROV_CLIENT
But I still got the following error:
prov_dev_client_ll_sample/build/main\libmain.a(custom_hsm_x509.o):(.literal.custom_hsm_create+0x4): undefined reference to '_binary_leaf_certificate_pem_start'
prov_dev_client_ll_sample/build/main\libmain.a(custom_hsm_x509.o):(.literal.custom_hsm_create+0x8): undefined reference to '_binary_leaf_private_key_pem_start'
collect2.exe: error: ld returned 1 exit status
make: *** [C:/msys32/home/clement.cres/esp/esp-idf/make/project.mk:461:prov_dev_client_ll_sample/build/prov_dev_client_ll_sample.elf] Error 1
Did I miss something?
Thank you,
Best regards
Clement
The text was updated successfully, but these errors were encountered: